aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorathrxx2011-11-24 00:47:24 +0100
committerathrxx2011-11-24 00:50:00 +0100
commitf19401b14caa1e73931f2de94c055b278e48d257 (patch)
tree926e9058ae61e35b1d9f91a9e8a477d4f5b67a5f
parent0b4a0220183db75d5292dd1f13c74b71824cc7e4 (diff)
downloadscummvm-rg350-f19401b14caa1e73931f2de94c055b278e48d257.tar.gz
scummvm-rg350-f19401b14caa1e73931f2de94c055b278e48d257.tar.bz2
scummvm-rg350-f19401b14caa1e73931f2de94c055b278e48d257.zip
KYRA: (HOF CD Demo) - check shouldQuit() during ending text loop
-rw-r--r--engines/kyra/script_hof.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp
index a7fea59e9d..b80b8105a1 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();