Silly me.
@@ -436,9 +436,10 @@ ALuint Sound::loadWAV(const String& fileName) {
// Open for binary reading
f = OSBasics::open(fileName.c_str(), "rb");
- if (!f)
+ if (!f) {
soundError("LoadWav: Could not load wav from " + fileName);
return buffer;
+ }
// buffers
char magic[5];