aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/tony/input.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tony/input.cpp b/engines/tony/input.cpp
index b6793695f3..3574980176 100644
--- a/engines/tony/input.cpp
+++ b/engines/tony/input.cpp
@@ -86,7 +86,7 @@ void RMInput::Poll(void) {
} else if (_event.type == Common::EVENT_RBUTTONDOWN) {
_rightButton = true;
_rightClickMouse = true;
- } else if (_event.type == Common::EVENT_RBUTTONDOWN) {
+ } else if (_event.type == Common::EVENT_RBUTTONUP) {
_rightButton = false;
_rightReleaseMouse = true;
} else