diff options
-rw-r--r-- | engines/kyra/gui_lol.cpp | 3 | ||||
-rw-r--r-- | engines/kyra/kyra_hof.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/kyra_lok.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/kyra_mr.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/kyra_v1.cpp | 3 |
5 files changed, 3 insertions, 9 deletions
diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp index 1958e7a472..30a147f710 100644 --- a/engines/kyra/gui_lol.cpp +++ b/engines/kyra/gui_lol.cpp @@ -706,9 +706,6 @@ void LoLEngine::gui_updateInput() { // set the "mainLoop" parameter to false for them. int inputFlag = checkInput(_activeButtons, !(_updateFlags & 3), 0); - if (!(_updateFlags & 3)) - checkAutosave(); - if (_preserveEvents) _preserveEvents = false; else diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp index 7e032fb46d..c2812b3078 100644 --- a/engines/kyra/kyra_hof.cpp +++ b/engines/kyra/kyra_hof.cpp @@ -471,8 +471,6 @@ void KyraEngine_HoF::runLoop() { break; } - checkAutosave(); - if (_system->getMillis() > _nextIdleAnim) showIdleAnim(); diff --git a/engines/kyra/kyra_lok.cpp b/engines/kyra/kyra_lok.cpp index e08eceecea..2f5d11f257 100644 --- a/engines/kyra/kyra_lok.cpp +++ b/engines/kyra/kyra_lok.cpp @@ -403,8 +403,6 @@ void KyraEngine_LoK::mainLoop() { while (!shouldQuit()) { int32 frameTime = (int32)_system->getMillis(); - checkAutosave(); - if (_currentCharacter->sceneId == 210) { updateKyragemFading(); if (seq_playEnd() && _deathHandler != 8) diff --git a/engines/kyra/kyra_mr.cpp b/engines/kyra/kyra_mr.cpp index c7a4d57e90..167f1822ac 100644 --- a/engines/kyra/kyra_mr.cpp +++ b/engines/kyra/kyra_mr.cpp @@ -975,8 +975,6 @@ void KyraEngine_MR::runLoop() { break; } - checkAutosave(); - if (_system->getMillis() >= _nextIdleAnim) showIdleAnim(); diff --git a/engines/kyra/kyra_v1.cpp b/engines/kyra/kyra_v1.cpp index aaecef5a09..df74790be7 100644 --- a/engines/kyra/kyra_v1.cpp +++ b/engines/kyra/kyra_v1.cpp @@ -243,6 +243,9 @@ int KyraEngine_v1::checkInput(Button *buttonList, bool mainLoop, int eventFlag) updateInput(); _isSaveAllowed = false; + if (mainLoop) + checkAutosave(); + int keys = 0; int8 mouseWheel = 0; |