From 61e792319d2381c58bbb45ab48b45343c5b71197 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Mon, 11 Jan 2010 16:33:00 +0000 Subject: [PATCH] Don't update the screen twice while waiting svn-id: r47254 --- engines/sci/engine/kernel.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/engines/sci/engine/kernel.cpp b/engines/sci/engine/kernel.cpp index 5adf13461fd..e5512da4ce7 100644 --- a/engines/sci/engine/kernel.cpp +++ b/engines/sci/engine/kernel.cpp @@ -711,7 +711,6 @@ void kernel_sleep(SciEvent *event, uint32 msecs ) { // let backend process events and update the screen event->get(SCI_EVENT_PEEK); // TODO: we need to call Cursor::refreshPosition() before each screen update to limit the mouse cursor position - g_system->updateScreen(); time = g_system->getMillis(); if (time + 10 < wakeup_time) { g_system->delayMillis(10);