diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/hdb/input.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/hdb/input.cpp b/engines/hdb/input.cpp index 093f525ec4..09aa5d9599 100644 --- a/engines/hdb/input.cpp +++ b/engines/hdb/input.cpp @@ -494,6 +494,9 @@ void Input::updateMouseButtons(int l, int m, int r) { uint16 buttons = getButtons() | kButtonB; setButtons(buttons); + } else if (!_mouseRButton) { + uint16 buttons = getButtons() & ~kButtonB; + setButtons(buttons); } } |