Prevent pointless warning about missing sound file
svn-id: r5768
This commit is contained in:
parent
b2049c63da
commit
5f0aa9c15a
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue