diff options
-rw-r--r-- | engines/xeen/scripts.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp index 4854f4edc1..32f6ae9f13 100644 --- a/engines/xeen/scripts.cpp +++ b/engines/xeen/scripts.cpp @@ -239,6 +239,10 @@ int Scripts::checkEvents() { _vm->_mode = oldMode; windows.closeAll(); + if (g_vm->getIsCD() && g_system->getAudioCDManager()->isPlaying()) + // Stop any playing voice + g_system->getAudioCDManager()->stop(); + if (g_vm->shouldExit()) return g_vm->_gameMode; |