[Scummvm-cvs-logs] SF.net SVN: scummvm:[49192] scummvm/trunk/engines/parallaction/input.cpp

sev at users.sourceforge.net sev at users.sourceforge.net
Mon May 24 18:58:15 CEST 2010


Revision: 49192
          http://scummvm.svn.sourceforge.net/scummvm/?rev=49192&view=rev
Author:   sev
Date:     2010-05-24 16:58:14 +0000 (Mon, 24 May 2010)

Log Message:
-----------
Fix warning

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/input.cpp

Modified: scummvm/trunk/engines/parallaction/input.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/input.cpp	2010-05-24 16:56:56 UTC (rev 49191)
+++ scummvm/trunk/engines/parallaction/input.cpp	2010-05-24 16:58:14 UTC (rev 49192)
@@ -329,7 +329,7 @@
 		bool noWalk = z->_flags & kFlagsNoWalk;	// check the explicit no-walk flag
 		if (_gameType == GType_BRA) {
 			// action performed on object marked for self-use do not need walk in BRA
-			noWalk |= z->_flags & kFlagsYourself;
+			noWalk |= ((z->_flags & kFlagsYourself) != 0);
 		}
 
 		if (noWalk) {


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