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

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Tue May 27 02:03:30 CEST 2008


Revision: 32310
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32310&view=rev
Author:   drmccoy
Date:     2008-05-26 17:03:29 -0700 (Mon, 26 May 2008)

Log Message:
-----------
Fixed an endian-related issue, making Woodruff controlable on big-endian machines.
It still breaks when switching screens and object videos are mispositioned, though.

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

Modified: scummvm/trunk/engines/gob/map_v4.cpp
===================================================================
--- scummvm/trunk/engines/gob/map_v4.cpp	2008-05-26 23:03:17 UTC (rev 32309)
+++ scummvm/trunk/engines/gob/map_v4.cpp	2008-05-27 00:03:29 UTC (rev 32310)
@@ -113,7 +113,7 @@
 	}
 
 	if (_widthByte == 4)
-		_mapWidth = (int16) READ_VARO_UINT16(68);
+		_mapWidth = VAR(17);
 
 	_passWidth = _mapWidth;
 


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