diff options
author | Johannes Schickel | 2012-01-16 17:02:18 +0100 |
---|---|---|
committer | Johannes Schickel | 2012-01-16 17:06:28 +0100 |
commit | 8b391399cc89441adb119c0afe33d4d26b620a5d (patch) | |
tree | 9960febaa919d0f5a456e050711d7903009ea533 /engines/kyra/kyra_lok.cpp | |
parent | 26a692ff5c04e157e93778ea49bd918e86dfdbbf (diff) | |
download | scummvm-rg350-8b391399cc89441adb119c0afe33d4d26b620a5d.tar.gz scummvm-rg350-8b391399cc89441adb119c0afe33d4d26b620a5d.tar.bz2 scummvm-rg350-8b391399cc89441adb119c0afe33d4d26b620a5d.zip |
KYRA: Fix for bug #3474339 "KYRA1CD: Ingame animation missing".
This was a regression from 6a3d0e712940bf4560e5302c40f07f5f6eb8e0aa.
This still assures that the workaround for bug #1498221 works.
Diffstat (limited to 'engines/kyra/kyra_lok.cpp')
-rw-r--r-- | engines/kyra/kyra_lok.cpp | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/engines/kyra/kyra_lok.cpp b/engines/kyra/kyra_lok.cpp index 74db67d22b..d7e79575ec 100644 --- a/engines/kyra/kyra_lok.cpp +++ b/engines/kyra/kyra_lok.cpp @@ -510,14 +510,10 @@ void KyraEngine_LoK::delay(uint32 amount, bool update, bool isMainLoop) { updateTextFade(); updateMousePointer(); } else { - // We call OSystem::updateScreen here and not Screen::updateScreen - // to avoid new graphics changes to be copied to the screen. - // This assures the workaround of bug #1498221 - // "KYRA1: Glitches when meeting Zanthia" is working correctly. - // Since we only call updateScreen here to let systems with frame - // update count limitations not miss any graphics updates it - // should not cause any problems. - _system->updateScreen(); + // We need to do Screen::updateScreen here, since client code + // relies on this method to copy screen changes to the actual + // screen since at least 0af418e7ea3a41f93fcc551a45ee5bae822d812a. + _screen->updateScreen(); } _isSaveAllowed = isMainLoop; |