[Scummvm-cvs-logs] scummvm master -> f19401b14caa1e73931f2de94c055b278e48d257

athrxx athrxx at scummvm.org
Thu Nov 24 00:51:23 CET 2011


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:
f19401b14c KYRA: (HOF CD Demo) - check shouldQuit() during ending text loop


Commit: f19401b14caa1e73931f2de94c055b278e48d257
    https://github.com/scummvm/scummvm/commit/f19401b14caa1e73931f2de94c055b278e48d257
Author: athrxx (athrxx at scummvm.org)
Date: 2011-11-23T15:50:00-08:00

Commit Message:
KYRA: (HOF CD Demo) - check shouldQuit() during ending text loop

Changed paths:
    engines/kyra/script_hof.cpp



diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp
index a7fea59..b80b810 100644
--- a/engines/kyra/script_hof.cpp
+++ b/engines/kyra/script_hof.cpp
@@ -1405,7 +1405,7 @@ int KyraEngine_HoF::o2_demoFinale(EMCState *script) {
 	_screen->updateScreen();
 
 	_eventList.clear();
-	while (!skipFlag())
+	while (!skipFlag() && !shouldQuit())
 		delay(10);
 
 	_sound->beginFadeOut();






More information about the Scummvm-git-logs mailing list