aboutsummaryrefslogtreecommitdiff
path: root/engines/cruise
diff options
context:
space:
mode:
authorPaul Gilbert2009-05-30 05:16:35 +0000
committerPaul Gilbert2009-05-30 05:16:35 +0000
commita6abd5c2fc232ab589af0acde95f519cabc75659 (patch)
tree713a7eb18d78eca786e6d8cca6a35778a31b0e76 /engines/cruise
parent7463fe3f1b8355f8022a533a867aa74f71c2dc2d (diff)
downloadscummvm-rg350-a6abd5c2fc232ab589af0acde95f519cabc75659.tar.gz
scummvm-rg350-a6abd5c2fc232ab589af0acde95f519cabc75659.tar.bz2
scummvm-rg350-a6abd5c2fc232ab589af0acde95f519cabc75659.zip
Bugfix to keep ScummVM responsive even when the displayOn variable is set to false
svn-id: r41017
Diffstat (limited to 'engines/cruise')
-rw-r--r--engines/cruise/cruise_main.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/cruise/cruise_main.cpp b/engines/cruise/cruise_main.cpp
index 6d90d39a6a..a0fab6829a 100644
--- a/engines/cruise/cruise_main.cpp
+++ b/engines/cruise/cruise_main.cpp
@@ -1889,6 +1889,9 @@ void CruiseEngine::mainLoop(void) {
removeCell(&cellHead, autoOvl, autoMsg, 5, masterScreen);
autoMsg = -1;
}
+ } else {
+ // Keep ScummVM being responsive even when displayOn is false
+ g_system->updateScreen();
}
manageEvents();