aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_lol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/gui_lol.cpp')
-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