[Scummvm-git-logs] scummvm master -> 5380e3a2ca795c6cf6b54e2bb5d3b2c9bcb55dd6
dreammaster
dreammaster at scummvm.org
Wed Feb 14 02:44:34 CET 2018
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
5380e3a2ca XEEN: Fix toggling the minimap by clicking on it
Commit: 5380e3a2ca795c6cf6b54e2bb5d3b2c9bcb55dd6
https://github.com/scummvm/scummvm/commit/5380e3a2ca795c6cf6b54e2bb5d3b2c9bcb55dd6
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2018-02-13T20:44:34-05:00
Commit Message:
XEEN: Fix toggling the minimap by clicking on it
Changed paths:
engines/xeen/dialogs.cpp
engines/xeen/interface.cpp
diff --git a/engines/xeen/dialogs.cpp b/engines/xeen/dialogs.cpp
index 99f6401..276d9a7 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 b350869..3ac885f 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:
More information about the Scummvm-git-logs
mailing list