Prevent another pointless warning

svn-id: r5874
This commit is contained in:
Travis Howell 2002-12-08 01:30:19 +00:00
parent 359f65066a
commit 1715a60b26

View File

@ -94,7 +94,7 @@ void SimonSound::readSfxFile(const char *filename, const char *gameDataPath)
file->open(filename, gameDataPath);
if (file->isOpen() == false) {
if (atoi(filename + 6) != 1)
if (atoi(filename + 6) != 1 && atoi(filename + 6) != 30)
warning("readSfxFile: Cannot load sfx file %s", filename);
return;
}