diff options
Diffstat (limited to 'simon')
-rw-r--r-- | simon/debugger.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/simon/debugger.cpp b/simon/debugger.cpp index dae0a64662..231ac067ec 100644 --- a/simon/debugger.cpp +++ b/simon/debugger.cpp @@ -90,7 +90,8 @@ bool Debugger::Cmd_PlayMusic(int argc, const char **argv) { bool Debugger::Cmd_PlayVoice(int argc, const char **argv) { if (argc > 1) { uint voice = atoi(argv[1]); - _vm->_sound->playVoice(voice); + if ((_vm->_game & GF_SIMON2 && voice < 3623) || (!(_vm->_game & GF_SIMON2) && voice < 1997)) + _vm->_sound->playVoice(voice); } else DebugPrintf("Syntax: voice <soundnum>\n"); |