From 5f0aa9c15aa336e90a7df9ef7eb835bf308aa5ac Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 1 Dec 2002 08:02:35 +0000 Subject: [PATCH] Prevent pointless warning about missing sound file svn-id: r5768 --- simon/sound.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/simon/sound.cpp b/simon/sound.cpp index ed18ec08738..8eec4222b2d 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; }