From 64489c3f215f31cbc9821811afe78bfdfbf82f55 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sat, 29 Aug 2009 07:52:45 +0000 Subject: Fix regression, which caused skipping of some dialogue lines to fail in Kyrandia 1. svn-id: r43794 --- engines/kyra/kyra_lok.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/kyra/kyra_lok.cpp') diff --git a/engines/kyra/kyra_lok.cpp b/engines/kyra/kyra_lok.cpp index 9dbe5b9699..4ff7707641 100644 --- a/engines/kyra/kyra_lok.cpp +++ b/engines/kyra/kyra_lok.cpp @@ -469,7 +469,7 @@ void KyraEngine_LoK::mainLoop() { } void KyraEngine_LoK::delayUntil(uint32 timestamp, bool updateTimers, bool update, bool isMainLoop) { - while (_system->getMillis() < timestamp && !shouldQuit()) { + while (_system->getMillis() < timestamp && !shouldQuit() && !skipFlag()) { if (updateTimers) _timer->update(); -- cgit v1.2.3