aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/xeen/dialogs/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs/dialogs.cpp b/engines/xeen/dialogs/dialogs.cpp
index 88fed8dfd5..fc75daf66c 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;