[Scummvm-cvs-logs] SF.net SVN: scummvm:[35286] scummvm/trunk/engines/tinsel/tinlib.cpp

anotherguest at users.sourceforge.net anotherguest at users.sourceforge.net
Mon Dec 8 22:11:19 CET 2008


Revision: 35286
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35286&view=rev
Author:   anotherguest
Date:     2008-12-08 21:11:19 +0000 (Mon, 08 Dec 2008)

Log Message:
-----------
Quickfix for tinlib compilation error. Changed type on zOverride from type int to int32 (signed int that is) to fit the SetMoverZ function and for valid comparison of zOveride != -1.

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/tinlib.cpp

Modified: scummvm/trunk/engines/tinsel/tinlib.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/tinlib.cpp	2008-12-08 17:48:39 UTC (rev 35285)
+++ scummvm/trunk/engines/tinsel/tinlib.cpp	2008-12-08 21:11:19 UTC (rev 35286)
@@ -3010,7 +3010,7 @@
  * Special walk.
  * Walk into or out of a legal path.
  */
-static void Swalk(CORO_PARAM, int actor, int x1, int y1, int x2, int y2, SCNHANDLE film, int zOverride, bool escOn, int myEscape) {
+static void Swalk(CORO_PARAM, int actor, int x1, int y1, int x2, int y2, SCNHANDLE film, int32 zOverride, bool escOn, int myEscape) {
 	CORO_BEGIN_CONTEXT;
 		bool	bTookControl;			// Set if this function takes control
 	CORO_END_CONTEXT(_ctx);


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