[Scummvm-git-logs] scummvm master -> 47ecb0b2e77de96755e259c43844d3f28f464d5b

dreammaster dreammaster at scummvm.org
Sat May 5 16:57:36 CEST 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
47ecb0b2e7 XEEN: Stop any voice playback in World Talkie if the dialog is closed early


Commit: 47ecb0b2e77de96755e259c43844d3f28f464d5b
    https://github.com/scummvm/scummvm/commit/47ecb0b2e77de96755e259c43844d3f28f464d5b
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-05-05T10:57:28-04:00

Commit Message:
XEEN: Stop any voice playback in World Talkie if the dialog is closed early

Changed paths:
    engines/xeen/scripts.cpp


diff --git a/engines/xeen/scripts.cpp b/engines/xeen/scripts.cpp
index 4854f4e..32f6ae9 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;
 





More information about the Scummvm-git-logs mailing list