diff options
-rw-r--r-- | engines/hopkins/anim.cpp | 48 |
1 files changed, 15 insertions, 33 deletions
diff --git a/engines/hopkins/anim.cpp b/engines/hopkins/anim.cpp index 090117bf14..8967281640 100644 --- a/engines/hopkins/anim.cpp +++ b/engines/hopkins/anim.cpp @@ -660,40 +660,22 @@ void AnimationManager::playSequence(const Common::String &file, uint32 rate1, ui _vm->_graphicsManager->updateScreen(); } bool skipFl = false; - if (_vm->getIsDemo()) { - _vm->_eventsManager->_rateCounter = 0; - _vm->_eventsManager->_escKeyFl = false; - _vm->_soundManager->loadAnimSound(); - if (_vm->_globals->iRegul == 1) { - do { - if (_vm->shouldQuit() || (_vm->_eventsManager->_escKeyFl && !skipEscFl)) { - skipFl = true; - break; - } - - _vm->_eventsManager->_escKeyFl = false; - _vm->_eventsManager->refreshEvents(); - _vm->_soundManager->checkSoundEnd(); - } while (_vm->_eventsManager->_rateCounter < rate1); - } - } else { - if (noColFl) - _vm->_graphicsManager->fadeInDefaultLength(screenP); - _vm->_eventsManager->_rateCounter = 0; - _vm->_eventsManager->_escKeyFl = false; - _vm->_soundManager->loadAnimSound(); - if (_vm->_globals->iRegul == 1) { - do { - if (_vm->shouldQuit() || (_vm->_eventsManager->_escKeyFl && !skipEscFl)) { - skipFl = true; - break; - } + if (noColFl) + _vm->_graphicsManager->fadeInDefaultLength(screenP); + _vm->_eventsManager->_rateCounter = 0; + _vm->_eventsManager->_escKeyFl = false; + _vm->_soundManager->loadAnimSound(); + if (_vm->_globals->iRegul == 1) { + do { + if (_vm->shouldQuit() || (_vm->_eventsManager->_escKeyFl && !skipEscFl)) { + skipFl = true; + break; + } - _vm->_eventsManager->_escKeyFl = false; - _vm->_eventsManager->refreshEvents(); - _vm->_soundManager->checkSoundEnd(); - } while (_vm->_eventsManager->_rateCounter < rate1); - } + _vm->_eventsManager->_escKeyFl = false; + _vm->_eventsManager->refreshEvents(); + _vm->_soundManager->checkSoundEnd(); + } while (_vm->_eventsManager->_rateCounter < rate1); } _vm->_eventsManager->_rateCounter = 0; if (!skipFl) { |