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

This commit is contained in:
athrxx 2011-11-24 00:47:24 +01:00
parent 8e0dc823c2
commit d2a71796df

View file

@ -1405,7 +1405,7 @@ int KyraEngine_HoF::o2_demoFinale(EMCState *script) {
_screen->updateScreen();
_eventList.clear();
while (!skipFlag())
while (!skipFlag() && !shouldQuit())
delay(10);
_sound->beginFadeOut();