[Scummvm-cvs-logs] scummvm master -> 18dd5e5128dcff623830ed43916828bc5cde1969
wjp
wjp at usecode.org
Fri Jun 8 08:32:02 CEST 2012
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
18dd5e5128 SCI: Fix mouse up events
Commit: 18dd5e5128dcff623830ed43916828bc5cde1969
https://github.com/scummvm/scummvm/commit/18dd5e5128dcff623830ed43916828bc5cde1969
Author: Willem Jan Palenstijn (wjp at usecode.org)
Date: 2012-06-07T23:31:06-07:00
Commit Message:
SCI: Fix mouse up events
Regression from 906f0248317e1a4167190a666fe308a09334bfac.
Fixes bug #3533069.
Changed paths:
engines/sci/event.cpp
diff --git a/engines/sci/event.cpp b/engines/sci/event.cpp
index 378e88b..14443db 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) {
More information about the Scummvm-git-logs
mailing list