[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6.cpp,1.420,1.420.2.1 script_v72he.cpp,2.191,2.191.2.1 script_v90he.cpp,2.116,2.116.2.1

Travis Howell kirben at users.sourceforge.net
Sun Dec 19 01:26:01 CET 2004


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2870/scumm

Modified Files:
      Tag: branch-0-7-0
	script_v6.cpp script_v72he.cpp script_v90he.cpp 
Log Message:

Off by one


Index: script_v6.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6.cpp,v
retrieving revision 1.420
retrieving revision 1.420.2.1
diff -u -d -r1.420 -r1.420.2.1
--- script_v6.cpp	27 Nov 2004 13:13:41 -0000	1.420
+++ script_v6.cpp	19 Dec 2004 09:24:54 -0000	1.420.2.1
@@ -819,7 +819,7 @@
 }
 
 void ScummEngine_v6::o6_startScript() {
-	int args[24];
+	int args[25];
 	int script, flags;
 
 	getStackList(args, ARRAYSIZE(args));
@@ -857,7 +857,7 @@
 }
 
 void ScummEngine_v6::o6_jumpToScript() {
-	int args[24];
+	int args[25];
 	int script, flags;
 
 	getStackList(args, ARRAYSIZE(args));
@@ -868,7 +868,7 @@
 }
 
 void ScummEngine_v6::o6_startScriptQuick() {
-	int args[24];
+	int args[25];
 	int script;
 	getStackList(args, ARRAYSIZE(args));
 	script = pop();
@@ -876,7 +876,7 @@
 }
 
 void ScummEngine_v6::o6_startScriptQuick2() {
-	int args[24];
+	int args[25];
 	int script;
 	getStackList(args, ARRAYSIZE(args));
 	script = pop();
@@ -884,7 +884,7 @@
 }
 
 void ScummEngine_v6::o6_startObject() {
-	int args[24];
+	int args[25];
 	int script, entryp;
 	int flags;
 	getStackList(args, ARRAYSIZE(args));
@@ -895,7 +895,7 @@
 }
 
 void ScummEngine_v6::o6_startObjectQuick() {
-	int args[24];
+	int args[25];
 	int script, entryp;
 	getStackList(args, ARRAYSIZE(args));
 	entryp = pop();
@@ -930,7 +930,7 @@
 }
 
 void ScummEngine_v6::o6_cutscene() {
-	int args[24];
+	int args[25];
 	getStackList(args, ARRAYSIZE(args));
 	beginCutscene(args);
 }

Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.191
retrieving revision 2.191.2.1
diff -u -d -r2.191 -r2.191.2.1
--- script_v72he.cpp	27 Nov 2004 17:50:22 -0000	2.191
+++ script_v72he.cpp	19 Dec 2004 09:24:55 -0000	2.191.2.1
@@ -727,7 +727,7 @@
 }
 
 void ScummEngine_v72he::o72_startScript() {
-	int args[24];
+	int args[25];
 	int script;
 	byte flags;
 
@@ -738,7 +738,7 @@
 }
 
 void ScummEngine_v72he::o72_startObject() {
-	int args[24];
+	int args[25];
 	int script, entryp;
 	byte flags;
 
@@ -1521,7 +1521,7 @@
 }
 
 void ScummEngine_v72he::o72_jumpToScript() {
-	int args[24];
+	int args[25];
 	int script;
 	byte flags;
 

Index: script_v90he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v90he.cpp,v
retrieving revision 2.116
retrieving revision 2.116.2.1
diff -u -d -r2.116 -r2.116.2.1
--- script_v90he.cpp	28 Nov 2004 05:33:33 -0000	2.116
+++ script_v90he.cpp	19 Dec 2004 09:24:55 -0000	2.116.2.1
@@ -452,7 +452,7 @@
 }
 
 void ScummEngine_v90he::o90_startScriptUnk() {
-	int args[24];
+	int args[25];
 	int script, cycle;
 	byte flags;
 
@@ -464,7 +464,7 @@
 }
 
 void ScummEngine_v90he::o90_jumpToScriptUnk() {
-	int args[24];
+	int args[25];
 	int script, cycle;
 	byte flags;
 





More information about the Scummvm-git-logs mailing list