[Scummvm-cvs-logs] SF.net SVN: scummvm:[34143] scummvm/branches/branch-0-12-0/engines/ parallaction/exec_ns.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Mon Aug 25 10:56:05 CEST 2008


Revision: 34143
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34143&view=rev
Author:   peres001
Date:     2008-08-25 08:56:04 +0000 (Mon, 25 Aug 2008)

Log Message:
-----------
Fixed build (return value of hitZone is ZonePtr, not boolean).

Modified Paths:
--------------
    scummvm/branches/branch-0-12-0/engines/parallaction/exec_ns.cpp

Modified: scummvm/branches/branch-0-12-0/engines/parallaction/exec_ns.cpp
===================================================================
--- scummvm/branches/branch-0-12-0/engines/parallaction/exec_ns.cpp	2008-08-25 08:49:30 UTC (rev 34142)
+++ scummvm/branches/branch-0-12-0/engines/parallaction/exec_ns.cpp	2008-08-25 08:56:04 UTC (rev 34143)
@@ -621,10 +621,10 @@
 
 					// look for action + item match
 					if (z->_type == type)
-						return true;
+						return z;
 					// look for item match, but don't accept 0 types
 					if (((z->_type & 0xFFFF0000) == type) && (type))
-						return true;
+						return z;
 				}
 			}
 


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