aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorTravis Howell2002-12-01 08:02:35 +0000
committerTravis Howell2002-12-01 08:02:35 +0000
commit5f0aa9c15aa336e90a7df9ef7eb835bf308aa5ac (patch)
treee38718fd1ed5e21af6cac06c022bd330d1cedc5b /simon
parentb2049c63dab262345f28a12d37d82d85eaaa2c02 (diff)
downloadscummvm-rg350-5f0aa9c15aa336e90a7df9ef7eb835bf308aa5ac.tar.gz
scummvm-rg350-5f0aa9c15aa336e90a7df9ef7eb835bf308aa5ac.tar.bz2
scummvm-rg350-5f0aa9c15aa336e90a7df9ef7eb835bf308aa5ac.zip
Prevent pointless warning about missing sound file
svn-id: r5768
Diffstat (limited to 'simon')
-rw-r--r--simon/sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/simon/sound.cpp b/simon/sound.cpp
index ed18ec0873..8eec4222b2 100644
--- a/simon/sound.cpp
+++ b/simon/sound.cpp
@@ -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;
}