aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-18 00:03:27 +0000
committerJohannes Schickel2009-05-18 00:03:27 +0000
commit50805cb7ea26d2d2220d1a61d943b1ea7086048c (patch)
tree41669d862119b4cc2262cb3fab01bd7f262d46fa
parent8a3f5bd520b387fced513145f4d9e0caee23aaf3 (diff)
downloadscummvm-rg350-50805cb7ea26d2d2220d1a61d943b1ea7086048c.tar.gz
scummvm-rg350-50805cb7ea26d2d2220d1a61d943b1ea7086048c.tar.bz2
scummvm-rg350-50805cb7ea26d2d2220d1a61d943b1ea7086048c.zip
Disable GMM save/load in certain scenes.
svn-id: r40672
-rw-r--r--engines/kyra/gui_lol.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp
index efd5a83e10..673b2832a7 100644
--- a/engines/kyra/gui_lol.cpp
+++ b/engines/kyra/gui_lol.cpp
@@ -702,7 +702,9 @@ void LoLEngine::gui_toggleFightButtons(bool disable) {
}
void LoLEngine::gui_updateInput() {
- int inputFlag = checkInput(_activeButtons, true);
+ // TODO: We need to catch all cases where loading is not possible and
+ // set the "mainLoop" parameter to false for them.
+ int inputFlag = checkInput(_activeButtons, !(_updateFlags & 3));
if (_preserveEvents)
_preserveEvents = false;
else