diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/xeen/locations.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/xeen/locations.cpp b/engines/xeen/locations.cpp index 76c18399e9..d48dcb6c00 100644 --- a/engines/xeen/locations.cpp +++ b/engines/xeen/locations.cpp @@ -23,6 +23,7 @@ #include "xeen/locations.h" #include "xeen/dialogs_input.h" #include "xeen/dialogs_items.h" +#include "xeen/dialogs_party.h" #include "xeen/dialogs_query.h" #include "xeen/dialogs_spells.h" #include "xeen/resources.h" @@ -682,6 +683,9 @@ Character *TavernLocation::doOptions(Character *c) { case Common::KEYCODE_s: { // Sign In + PartyDialog::show(g_vm); + + // Set location and position afterwards idx = _isDarkCc ? (party._mazeId - 29) >> 1 : party._mazeId - 28; assert(idx >= 0); party._mazePosition.x = Res.TAVERN_EXIT_LIST[_isDarkCc ? 1 : 0][_LocationActionId][idx][0]; @@ -702,7 +706,6 @@ Character *TavernLocation::doOptions(Character *c) { party.addTime(1440); party._mazeId = 0; - _vm->_quitMode = 2; break; } |