From d0d27928f1c5d38d380e0eb1dd5dc4ecbbdadb75 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 16 Dec 2017 11:58:28 -0500 Subject: XEEN: Show Party dialog when signing into taverns --- engines/xeen/locations.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/xeen') 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; } -- cgit v1.2.3