aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorTravis Howell2002-12-08 01:30:19 +0000
committerTravis Howell2002-12-08 01:30:19 +0000
commit1715a60b26226987c7f9d83cb682e4a373aedf78 (patch)
treee584e6d65624f5bf9a14e4f6e233cd286dfdc9d7 /simon
parent359f65066a3bed081886ea7396561d5669ddb633 (diff)
downloadscummvm-rg350-1715a60b26226987c7f9d83cb682e4a373aedf78.tar.gz
scummvm-rg350-1715a60b26226987c7f9d83cb682e4a373aedf78.tar.bz2
scummvm-rg350-1715a60b26226987c7f9d83cb682e4a373aedf78.zip
Prevent another pointless warning
svn-id: r5874
Diffstat (limited to 'simon')
-rw-r--r--simon/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/sound.cpp b/simon/sound.cpp
index 07ba874efd..be2eef7803 100644
--- a/simon/sound.cpp
+++ b/simon/sound.cpp
@@ -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;
}