aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}