aboutsummaryrefslogtreecommitdiff
path: root/engines/xeen/dialogs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/xeen/dialogs.cpp')
-rw-r--r--engines/xeen/dialogs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/dialogs.cpp b/engines/xeen/dialogs.cpp
index 92082b4e0b..a88efd2520 100644
--- a/engines/xeen/dialogs.cpp
+++ b/engines/xeen/dialogs.cpp
@@ -94,7 +94,7 @@ bool ButtonContainer::checkEvents(XeenEngine *vm) {
else if (_buttonValue == Common::KEYCODE_KP_ENTER)
_buttonValue = Common::KEYCODE_RETURN;
- _buttonValue |= (keyState.flags << 8);
+ _buttonValue |= keyState.flags << 16;
if (_buttonValue)
return true;
}