[Scummvm-cvs-logs] SF.net SVN: scummvm:[43900] scummvm/trunk/engines/gob/map_v2.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Tue Sep 1 23:16:13 CEST 2009


Revision: 43900
          http://scummvm.svn.sourceforge.net/scummvm/?rev=43900&view=rev
Author:   drmccoy
Date:     2009-09-01 21:16:12 +0000 (Tue, 01 Sep 2009)

Log Message:
-----------
Making another variable offset unsigned, since it overflows int16

Modified Paths:
--------------
    scummvm/trunk/engines/gob/map_v2.cpp

Modified: scummvm/trunk/engines/gob/map_v2.cpp
===================================================================
--- scummvm/trunk/engines/gob/map_v2.cpp	2009-09-01 21:08:42 UTC (rev 43899)
+++ scummvm/trunk/engines/gob/map_v2.cpp	2009-09-01 21:16:12 UTC (rev 43900)
@@ -47,7 +47,7 @@
 
 void Map_v2::loadMapObjects(const char *avjFile) {
 	uint8 wayPointsCount;
-	int16 var;
+	uint16 var;
 	int16 id;
 	int16 mapWidth, mapHeight;
 	int16 tmp;


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