From 50805cb7ea26d2d2220d1a61d943b1ea7086048c Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Mon, 18 May 2009 00:03:27 +0000 Subject: Disable GMM save/load in certain scenes. svn-id: r40672 --- engines/kyra/gui_lol.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3