[Scummvm-cvs-logs] SF.net SVN: scummvm: [21093] scummvm/trunk/engines/scumm/boxes.cpp

kirben at users.sourceforge.net kirben at users.sourceforge.net
Sun Mar 5 16:34:07 CET 2006


Revision: 21093
Author:   kirben
Date:     2006-03-05 02:54:41 -0800 (Sun, 05 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=21093&view=rev

Log Message:
-----------
Update box flags for C64 maniac

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/boxes.cpp
Modified: scummvm/trunk/engines/scumm/boxes.cpp
===================================================================
--- scummvm/trunk/engines/scumm/boxes.cpp	2006-03-05 10:05:19 UTC (rev 21092)
+++ scummvm/trunk/engines/scumm/boxes.cpp	2006-03-05 10:54:41 UTC (rev 21093)
@@ -132,6 +132,8 @@
 			return;
 		if (_game.version == 8)
 			ptr->v8.flags = TO_LE_32(val);
+		else if (_game.id == GID_MANIAC && _game.platform == Common::kPlatformC64)
+			ptr->c64.flags = val;
 		else if (_game.version <= 2)
 			ptr->v2.flags = val;
 		else
@@ -145,6 +147,8 @@
 		return 0;
 	if (_game.version == 8)
 		return (byte) FROM_LE_32(ptr->v8.flags);
+	else if (_game.id == GID_MANIAC && _game.platform == Common::kPlatformC64)
+		return ptr->c64.flags;
 	else if (_game.version <= 2)
 		return ptr->v2.flags;
 	else







More information about the Scummvm-git-logs mailing list