Skip to content

Commit

Permalink
XEEN: Fix clicking on monster names in combat to change target
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Sep 22, 2019
1 parent 8f40cb9 commit 9bffdfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/xeen/dialogs/dialogs.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 9bffdfe

Please sign in to comment.