diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/tinsel/debugger.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/tinsel/debugger.cpp b/engines/tinsel/debugger.cpp index 3ade360445..904763e228 100644 --- a/engines/tinsel/debugger.cpp +++ b/engines/tinsel/debugger.cpp @@ -136,10 +136,14 @@ bool Console::cmd_sound(int argc, const char **argv) { } int id = strToInt(argv[1]); - if (_vm->_sound->sampleExists(id)) - _vm->_sound->playSample(id, Audio::Mixer::kSpeechSoundType); - else + if (_vm->_sound->sampleExists(id)) { + if (!TinselV2) + _vm->_sound->playSample(id, Audio::Mixer::kSpeechSoundType); + else + _vm->_sound->playSample(id, 0, false, 0, 0, PRIORITY_TALK, Audio::Mixer::kSpeechSoundType); + } else { DebugPrintf("Sample %d does not exist!\n", id); + } return true; } |