ASYLUM: Add delay in event loop in the intro
This commit is contained in:
parent
82ff79f04c
commit
ed60255adf
2 changed files with 4 additions and 0 deletions
|
@ -311,6 +311,8 @@ void AsylumEngine::playIntro() {
|
|||
Common::Event ev;
|
||||
_eventMan->pollEvent(ev);
|
||||
|
||||
_system->delayMillis(100);
|
||||
|
||||
} while (_sound->isPlaying(introSpeech));
|
||||
|
||||
}
|
||||
|
|
|
@ -1788,6 +1788,8 @@ void Scene::playIntroSpeech() {
|
|||
Common::Event ev;
|
||||
_vm->getEventManager()->pollEvent(ev);
|
||||
|
||||
g_system->delayMillis(100);
|
||||
|
||||
} while (getSound()->isPlaying(resourceId));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue