Skip to content

Commit

Permalink
KYRA: (HOF CD Demo) - check shouldQuit() during ending text loop
Browse files Browse the repository at this point in the history
  • Loading branch information
athrxx committed Nov 24, 2011
1 parent 8e0dc82 commit d2a7179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/kyra/script_hof.cpp
Expand Up @@ -1405,7 +1405,7 @@ int KyraEngine_HoF::o2_demoFinale(EMCState *script) {
_screen->updateScreen();

_eventList.clear();
while (!skipFlag())
while (!skipFlag() && !shouldQuit())
delay(10);

_sound->beginFadeOut();
Expand Down

0 comments on commit d2a7179

Please sign in to comment.