mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
HOPKINS: Fix freeze when playing some animations
This commit is contained in:
1 parent
edd0a631fc
commit
fb163db0bc
1 file changed
+3
-5
@@ -858,13 +858,11 @@ void AnimationManager::playSequence2(const Common::String &file, uint32 rate1, u
|
||||
}
|
||||
|
||||
if (_vm->_globals.iRegul == 1) {
|
||||
while (!_vm->_eventsManager._escKeyFl) {
|
||||
// Wait for third rate delay
|
||||
do {
|
||||
_vm->_eventsManager.refreshEvents();
|
||||
_vm->_soundManager.checkSoundEnd();
|
||||
if (_vm->_eventsManager._rateCounter < rate3) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
} while (!_vm->shouldQuit() && !_vm->_eventsManager._escKeyFl && _vm->_eventsManager._rateCounter < rate3);
|
||||
}
|
||||
|
||||
_vm->_eventsManager._rateCounter = 0;
|
||||
|
||||
Reference in new issue
Block a user