mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-12 20:17:49 +00:00
Prevent pointless warning about missing sound file
svn-id: r5768
This commit is contained in:
parent
b2049c63da
commit
5f0aa9c15a
@ -94,6 +94,7 @@ void SimonSound::readSfxFile(const char *filename, const char *gameDataPath)
|
||||
file->open(filename, gameDataPath);
|
||||
|
||||
if (file->isOpen() == false) {
|
||||
if (atoi(filename + 6) != 1)
|
||||
warning("readSfxFile: Cannot load sfx file %s", filename);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user