[Scummvm-git-logs] scummvm master -> 9bffdfe9d592b6947b3a96a8ce2126fb2c23b0bb
dreammaster
paulfgilbert at gmail.com
Sun Sep 22 20:42:34 CEST 2019
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:
9bffdfe9d5 XEEN: Fix clicking on monster names in combat to change target
Commit: 9bffdfe9d592b6947b3a96a8ce2126fb2c23b0bb
https://github.com/scummvm/scummvm/commit/9bffdfe9d592b6947b3a96a8ce2126fb2c23b0bb
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2019-09-22T11:42:22-07:00
Commit Message:
XEEN: Fix clicking on monster names in combat to change target
Changed paths:
engines/xeen/dialogs/dialogs.cpp
diff --git a/engines/xeen/dialogs/dialogs.cpp b/engines/xeen/dialogs/dialogs.cpp
index 88fed8d..fc75daf 100644
--- a/engines/xeen/dialogs/dialogs.cpp
+++ b/engines/xeen/dialogs/dialogs.cpp
@@ -85,7 +85,7 @@ bool ButtonContainer::checkEvents(XeenEngine *vm) {
// Check whether any button is selected
for (uint i = 0; i < _buttons.size(); ++i) {
- if (_buttons[i]._bounds.contains(pt)) {
+ if (_buttons[i]._bounds.contains(pt) && _buttons[i]._value) {
events.debounceMouse();
_buttonValue = _buttons[i]._value;
More information about the Scummvm-git-logs
mailing list