[Scummvm-cvs-logs] SF.net SVN: scummvm:[35516] tools/trunk/degob_script.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Wed Dec 24 01:10:12 CET 2008


Revision: 35516
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35516&view=rev
Author:   drmccoy
Date:     2008-12-24 00:10:11 +0000 (Wed, 24 Dec 2008)

Log Message:
-----------
Forgot to set the two vars when operation != 14 and 15

Modified Paths:
--------------
    tools/trunk/degob_script.cpp

Modified: tools/trunk/degob_script.cpp
===================================================================
--- tools/trunk/degob_script.cpp	2008-12-24 00:05:42 UTC (rev 35515)
+++ tools/trunk/degob_script.cpp	2008-12-24 00:10:11 UTC (rev 35516)
@@ -651,6 +651,11 @@
 		operation = readUint8();
 	}
 
+	if (arg_0)
+		*arg_0 = 0;
+	if (arg_4)
+		*arg_4 = operation;
+
 	if ((operation == 16) || (operation == 18) || (operation == 25) || (operation == 28))
 		expr = "var8_";
 	else if ((operation == 17) || (operation == 24) || (operation == 27))


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