[Scummvm-cvs-logs] SF.net SVN: scummvm:[54747] scummvm/trunk/engines/lure/menu.cpp
anotherguest at users.sourceforge.net
anotherguest at users.sourceforge.net
Fri Dec 3 10:23:57 CET 2010
Revision: 54747
http://scummvm.svn.sourceforge.net/scummvm/?rev=54747&view=rev
Author: anotherguest
Date: 2010-12-03 09:23:56 +0000 (Fri, 03 Dec 2010)
Log Message:
-----------
LURE : Fix for ID: 3030143 Unexpected game cursor behavior. Always refresh menu and screen when mouse is moved.
Modified Paths:
--------------
scummvm/trunk/engines/lure/menu.cpp
Modified: scummvm/trunk/engines/lure/menu.cpp
===================================================================
--- scummvm/trunk/engines/lure/menu.cpp 2010-12-02 21:54:55 UTC (rev 54746)
+++ scummvm/trunk/engines/lure/menu.cpp 2010-12-03 09:23:56 UTC (rev 54747)
@@ -584,12 +584,12 @@
} else if (e.type() == Common::EVENT_LBUTTONDOWN || e.type() == Common::EVENT_MOUSEMOVE) {
int16 x = mouse.x();
int16 y = mouse.y() - yMiddle + (s->height() / 2);
+ refreshFlag = true;
+
if (r.contains(x, y)) {
selectedIndex = (y - r.top) / FONT_HEIGHT;
if (e.type() == Common::EVENT_LBUTTONDOWN)
goto bail_out;
- else
- refreshFlag = true;
}
#else
} else if ((e.type() == Common::EVENT_LBUTTONDOWN) ||
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list