Fixes input handling while moving.

svn-id: r22661
This commit is contained in:
Johannes Schickel 2006-05-26 14:21:53 +00:00
parent 3485102a7e
commit f548f97666
2 changed files with 3 additions and 5 deletions

View File

@ -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) {

View File

@ -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);
}
}