diff options
Diffstat (limited to 'engines/xeen/locations.cpp')
-rw-r--r-- | engines/xeen/locations.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/xeen/locations.cpp b/engines/xeen/locations.cpp index 63478bab5f..7cbfc2bab3 100644 --- a/engines/xeen/locations.cpp +++ b/engines/xeen/locations.cpp @@ -572,6 +572,7 @@ Common::String TavernLocation::createLocationText(Character &ch) { } Character *TavernLocation::doOptions(Character *c) { + EventsManager &events = *g_vm->_events; Interface &intf = *g_vm->_interface; Map &map = *g_vm->_map; Party &party = *g_vm->_party; @@ -717,6 +718,15 @@ Character *TavernLocation::doOptions(Character *c) { party.addTime(1440); party._mazeId = 0; + // Say farewell + farewell(); + while (sound.isSoundPlaying()) + events.wait(1); + + // Animate closing a scroll + doScroll(true, false); + sound.stopAllAudio(); + // Show the party dialog PartyDialog::show(g_vm); |