[Scummvm-cvs-logs] SF.net SVN: scummvm:[54748] scummvm/branches/branch-1-2-0/engines/lure/menu .cpp
anotherguest at users.sourceforge.net
anotherguest at users.sourceforge.net
Fri Dec 3 10:33:51 CET 2010
Revision: 54748
http://scummvm.svn.sourceforge.net/scummvm/?rev=54748&view=rev
Author: anotherguest
Date: 2010-12-03 09:33:51 +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/branches/branch-1-2-0/engines/lure/menu.cpp
Modified: scummvm/branches/branch-1-2-0/engines/lure/menu.cpp
===================================================================
--- scummvm/branches/branch-1-2-0/engines/lure/menu.cpp 2010-12-03 09:23:56 UTC (rev 54747)
+++ scummvm/branches/branch-1-2-0/engines/lure/menu.cpp 2010-12-03 09:33:51 UTC (rev 54748)
@@ -584,12 +584,11 @@
} 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