aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2012-05-12 00:08:09 +1000
committerPaul Gilbert2012-05-12 00:08:09 +1000
commit166980fa4f7aa29ef604307662ed04d21b26a211 (patch)
tree249ad2b78ef016d8217f1085af9fc69e695d182f /engines
parent3a61568b6f0c5d74ced621a5f4161efbcb33f6a9 (diff)
downloadscummvm-rg350-166980fa4f7aa29ef604307662ed04d21b26a211.tar.gz
scummvm-rg350-166980fa4f7aa29ef604307662ed04d21b26a211.tar.bz2
scummvm-rg350-166980fa4f7aa29ef604307662ed04d21b26a211.zip
TONY: Fix for properly signaling right button release.
Diffstat (limited to 'engines')
-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