diff options
-rw-r--r-- | engines/voyeur/sound.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/voyeur/sound.cpp b/engines/voyeur/sound.cpp index c0e5a043cd..0e9d35e9a6 100644 --- a/engines/voyeur/sound.cpp +++ b/engines/voyeur/sound.cpp @@ -54,6 +54,7 @@ void SoundManager::setVOCOffset(int offset) { } Common::String SoundManager::getVOCFileName(int idx) { + assert (idx >= 0); return Common::String::format("%s.voc", SZ_FILENAMES[idx]); } |