More file handling cleanups

FossilOrigin-Name: c09457f7ad6613411be70250bdc33917e92298e80706560a9a205c997b679297
This commit is contained in:
Jonathan Schleifer 2025-03-05 22:42:56 +00:00
parent a6a0247bb2
commit 3661ce9a40
3 changed files with 110 additions and 79 deletions

View file

@ -254,8 +254,7 @@ playsound(int n, OFVector3D *loc)
#endif
if (!samples[n]) {
conoutf(@"failed to load sample: %s",
IRI.string.UTF8String);
conoutf(@"failed to load sample: %@", IRI.string);
return;
}
}