aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2018-02-13 20:44:34 -0500
committerPaul Gilbert2018-02-13 20:44:34 -0500
commit5380e3a2ca795c6cf6b54e2bb5d3b2c9bcb55dd6 (patch)
treebefb0f474f033f4f13827e1f199296acee7c7810 /engines
parenta85a98b867af5808f630d14c92526fff36c5d3b8 (diff)
downloadscummvm-rg350-5380e3a2ca795c6cf6b54e2bb5d3b2c9bcb55dd6.tar.gz
scummvm-rg350-5380e3a2ca795c6cf6b54e2bb5d3b2c9bcb55dd6.tar.bz2
scummvm-rg350-5380e3a2ca795c6cf6b54e2bb5d3b2c9bcb55dd6.zip
XEEN: Fix toggling the minimap by clicking on it
Diffstat (limited to 'engines')
-rw-r--r--engines/xeen/dialogs.cpp2
-rw-r--r--engines/xeen/interface.cpp2
2 files changed, 1 insertions, 3 deletions
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: