aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gui/gui-manager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/gui-manager.cpp b/gui/gui-manager.cpp
index 43e3fa378d..6f9fd8b13a 100644
--- a/gui/gui-manager.cpp
+++ b/gui/gui-manager.cpp
@@ -345,11 +345,11 @@ void GuiManager::runLoop() {
// triggered in 3x mode or when running ScummVM under Valgrind.)
if (activeDialog != getTopDialog() && event.type != Common::EVENT_SCREEN_CHANGED) {
processEvent(event, getTopDialog());
- continue;
+ continue;
}
-
+
processEvent(event, activeDialog);
-
+
if (lastRedraw + waitTime < _system->getMillis(true)) {
lastRedraw = _system->getMillis(true);