[Scummvm-cvs-logs] SF.net SVN: scummvm:[44830] scummvm/trunk/engines/sci/engine/state.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri Oct 9 18:21:37 CEST 2009


Revision: 44830
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44830&view=rev
Author:   thebluegr
Date:     2009-10-09 16:21:37 +0000 (Fri, 09 Oct 2009)

Log Message:
-----------
Oops...

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/state.cpp

Modified: scummvm/trunk/engines/sci/engine/state.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/state.cpp	2009-10-09 16:20:15 UTC (rev 44829)
+++ scummvm/trunk/engines/sci/engine/state.cpp	2009-10-09 16:21:37 UTC (rev 44830)
@@ -543,6 +543,7 @@
 								int opsize = scr[offset++];
 								uint opcode = opsize >> 1;
 								int i = 0;
+								byte argc;
 
 								while (g_opcode_formats[opcode][i]) {
 									switch (g_opcode_formats[opcode][i++]) {
@@ -570,7 +571,7 @@
 											offset += 2;
 										}
 
-										byte argc = scr[offset++];
+										argc = scr[offset++];
 
 										if (opcode == op_callk) {
 											if (kFuncNum == 8) {	// kDrawPic


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