ASYLUM: Add delay in event loop in the intro

This commit is contained in:
Julien Templier 2011-07-28 15:19:11 -04:00 committed by Eugene Sandulenko
parent 82ff79f04c
commit ed60255adf
No known key found for this signature in database
GPG key ID: 014D387312D34F08
2 changed files with 4 additions and 0 deletions

View file

@ -311,6 +311,8 @@ void AsylumEngine::playIntro() {
Common::Event ev;
_eventMan->pollEvent(ev);
_system->delayMillis(100);
} while (_sound->isPlaying(introSpeech));
}

View file

@ -1788,6 +1788,8 @@ void Scene::playIntroSpeech() {
Common::Event ev;
_vm->getEventManager()->pollEvent(ev);
g_system->delayMillis(100);
} while (getSound()->isPlaying(resourceId));
}