KYRA: Make workaround for bug #1498221 work again.
The bug in question is "KYRA1: Glitches when meeting Zanthia".
This is a regression from 0af418e7ea
as far as
I can tell.
This commit is contained in:
parent
c805e5f5dc
commit
6a3d0e7129
1 changed files with 8 additions and 1 deletions
|
@ -510,7 +510,14 @@ void KyraEngine_LoK::delay(uint32 amount, bool update, bool isMainLoop) {
|
|||
updateTextFade();
|
||||
updateMousePointer();
|
||||
} else {
|
||||
_screen->updateScreen();
|
||||
// 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();
|
||||
}
|
||||
|
||||
_isSaveAllowed = isMainLoop;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue