From 5380e3a2ca795c6cf6b54e2bb5d3b2c9bcb55dd6 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 13 Feb 2018 20:44:34 -0500 Subject: XEEN: Fix toggling the minimap by clicking on it --- engines/xeen/dialogs.cpp | 2 +- engines/xeen/interface.cpp | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/xeen/dialogs.cpp b/engines/xeen/dialogs.cpp index 99f640136d..276d9a7b3b 100644 --- a/engines/xeen/dialogs.cpp +++ b/engines/xeen/dialogs.cpp @@ -83,7 +83,7 @@ bool ButtonContainer::checkEvents(XeenEngine *vm) { // Check whether any button is selected for (uint i = 0; i < _buttons.size(); ++i) { - if (_buttons[i]._draw && _buttons[i]._bounds.contains(pt)) { + if (_buttons[i]._bounds.contains(pt)) { events.debounceMouse(); _buttonValue = _buttons[i]._value; diff --git a/engines/xeen/interface.cpp b/engines/xeen/interface.cpp index b3508693d8..3ac885f210 100644 --- a/engines/xeen/interface.cpp +++ b/engines/xeen/interface.cpp @@ -473,9 +473,7 @@ void Interface::perform() { case Common::KEYCODE_EQUALS: case Common::KEYCODE_KP_EQUALS: // Toggle minimap - combat._moveMonsters = false; party._automapOn = !party._automapOn; - combat._moveMonsters = true; break; case Common::KEYCODE_b: -- cgit v1.2.3