aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2012-06-08 08:30:32 +0200
committerWillem Jan Palenstijn2012-06-08 08:31:06 +0200
commit18dd5e5128dcff623830ed43916828bc5cde1969 (patch)
treeef0e019ba70a5327e811a3634d349ce8fd3de70f /engines/sci
parentc414baa35d4cc4b11929d9c4995a1027d16f59e6 (diff)
downloadscummvm-rg350-18dd5e5128dcff623830ed43916828bc5cde1969.tar.gz
scummvm-rg350-18dd5e5128dcff623830ed43916828bc5cde1969.tar.bz2
scummvm-rg350-18dd5e5128dcff623830ed43916828bc5cde1969.zip
SCI: Fix mouse up events
Regression from 906f0248317e1a4167190a666fe308a09334bfac. Fixes bug #3533069.
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/event.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index 378e88b7df..14443db1e2 100644
--- a/engines/sci/event.cpp
+++ b/engines/sci/event.cpp
@@ -102,8 +102,8 @@ const MouseEventConversion mouseEventMappings[] = {
{ Common::EVENT_RBUTTONDOWN, SCI_EVENT_MOUSE_PRESS, 2 },
{ Common::EVENT_MBUTTONDOWN, SCI_EVENT_MOUSE_PRESS, 3 },
{ Common::EVENT_LBUTTONUP, SCI_EVENT_MOUSE_RELEASE, 1 },
- { Common::EVENT_LBUTTONUP, SCI_EVENT_MOUSE_RELEASE, 2 },
- { Common::EVENT_LBUTTONUP, SCI_EVENT_MOUSE_RELEASE, 3 }
+ { Common::EVENT_RBUTTONUP, SCI_EVENT_MOUSE_RELEASE, 2 },
+ { Common::EVENT_MBUTTONUP, SCI_EVENT_MOUSE_RELEASE, 3 }
};
EventManager::EventManager(bool fontIsExtended) : _fontIsExtended(fontIsExtended) {