mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-15 06:08:35 +00:00
Fixes input handling while moving.
svn-id: r22661
This commit is contained in:
parent
3485102a7e
commit
f548f97666
@ -652,6 +652,8 @@ void KyraEngine::delay(uint32 amount, bool update, bool isMainLoop) {
|
||||
if (update) {
|
||||
_sprites->updateSceneAnims();
|
||||
_animator->updateAllObjectShapes();
|
||||
updateTextFade();
|
||||
updateMousePointer();
|
||||
}
|
||||
|
||||
if (_currentCharacter && _currentCharacter->sceneId == 210 && update) {
|
||||
|
@ -993,11 +993,7 @@ int KyraEngine::processSceneChange(int *table, int unk1, int frameReset) {
|
||||
|
||||
nextFrame = getTimerDelay(5) * _tickLength + _system->getMillis();
|
||||
while (_system->getMillis() < nextFrame) {
|
||||
_sprites->updateSceneAnims();
|
||||
updateMousePointer();
|
||||
updateGameTimers();
|
||||
_animator->updateAllObjectShapes();
|
||||
updateTextFade();
|
||||
if (_currentCharacter->sceneId == 210) {
|
||||
updateKyragemFading();
|
||||
if (seq_playEnd() || _beadStateVar == 4 || _beadStateVar == 5) {
|
||||
@ -1007,7 +1003,7 @@ int KyraEngine::processSceneChange(int *table, int unk1, int frameReset) {
|
||||
}
|
||||
}
|
||||
if ((nextFrame - _system->getMillis()) >= 10)
|
||||
delay(10);
|
||||
delay(10, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user