[Scummvm-cvs-logs] SF.net SVN: scummvm:[39229] scummvm/trunk/engines/agos/cursor.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sun Mar 8 15:28:05 CET 2009
Revision: 39229
http://scummvm.svn.sourceforge.net/scummvm/?rev=39229&view=rev
Author: thebluegr
Date: 2009-03-08 14:28:05 +0000 (Sun, 08 Mar 2009)
Log Message:
-----------
Variable _oneClick is a byte, so we can't compare it to boolean true/false
Modified Paths:
--------------
scummvm/trunk/engines/agos/cursor.cpp
Modified: scummvm/trunk/engines/agos/cursor.cpp
===================================================================
--- scummvm/trunk/engines/agos/cursor.cpp 2009-03-08 14:27:35 UTC (rev 39228)
+++ scummvm/trunk/engines/agos/cursor.cpp 2009-03-08 14:28:05 UTC (rev 39229)
@@ -572,7 +572,7 @@
if (_dragMode != 0) {
_dragEnd = 1;
} else {
- _oneClick = true;
+ _oneClick = 1;
}
_dragCount = 0;
}
@@ -604,8 +604,8 @@
}
x = 0;
- if (_oneClick == true) {
- _oneClick = false;
+ if (_oneClick > 0) {
+ _oneClick = 0;
x = 1;
} else {
if (_litBoxFlag == 0 && _needHitAreaRecalc == 0)
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