From fca8ac60ded82ed6c34c0260199d4ac572a85acb Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 16 Oct 2011 21:49:43 +0100 Subject: CRUISE: Fix For Unresponsive Mouse Movement noted in Bug #3423955. This patch was supplied on the bug by Ignaz Forster (ifo). --- engines/cruise/cruise_main.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines/cruise/cruise_main.cpp') diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp index ff4669607d..8092f57c67 100644 --- a/engines/cruise/cruise_main.cpp +++ b/engines/cruise/cruise_main.cpp @@ -1804,6 +1804,8 @@ void CruiseEngine::mainLoop() { bool skipEvents = false; do { + g_system->updateScreen(); + g_system->delayMillis(10); currentTick = g_system->getMillis(); @@ -1976,9 +1978,6 @@ void CruiseEngine::mainLoop() { removeCell(&cellHead, autoOvl, autoMsg, 5, masterScreen); autoMsg = -1; } - } else { - // Keep ScummVM being responsive even when displayOn is false - g_system->updateScreen(); } } while (!playerDontAskQuit && quitValue2 && quitValue != 7); -- cgit v1.2.3