diff options
-rw-r--r-- | engines/pegasus/neighborhood/neighborhood.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/pegasus/neighborhood/neighborhood.cpp b/engines/pegasus/neighborhood/neighborhood.cpp index fb95b07aef..36ae4860b5 100644 --- a/engines/pegasus/neighborhood/neighborhood.cpp +++ b/engines/pegasus/neighborhood/neighborhood.cpp @@ -473,6 +473,7 @@ void Neighborhood::requestSpotSound(const TimeValue in, const TimeValue out, con void Neighborhood::playSpotSoundSync(const TimeValue in, const TimeValue out) { // Let the action queue play out first... while (!actionQueueEmpty()) { + _vm->checkCallBacks(); _vm->refreshDisplay(); _vm->checkNotifications(); _vm->_system->delayMillis(10); @@ -482,6 +483,7 @@ void Neighborhood::playSpotSoundSync(const TimeValue in, const TimeValue out) { _spotSounds.playSoundSegment(in, out); while (_spotSounds.isPlaying()) { + _vm->checkCallBacks(); _vm->refreshDisplay(); _vm->_system->delayMillis(10); } |