[Scummvm-cvs-logs] CVS: scummvm/scumm script_v72he.cpp,2.61,2.62 script_v7he.cpp,2.62,2.63 script_v80he.cpp,2.6,2.7

Travis Howell kirben at users.sourceforge.net
Wed Sep 8 03:38:53 CEST 2004


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

Modified Files:
	script_v72he.cpp script_v7he.cpp script_v80he.cpp 
Log Message:

Fix array issue.


Index: script_v72he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v72he.cpp,v
retrieving revision 2.61
retrieving revision 2.62
diff -u -d -r2.61 -r2.62
--- script_v72he.cpp	7 Sep 2004 14:16:08 -0000	2.61
+++ script_v72he.cpp	8 Sep 2004 10:36:05 -0000	2.62
@@ -1740,6 +1740,7 @@
 			push(0);
 		break;
 	case 7: // string
+		writeVar(0, 0);
 		defineArray(0, kStringArray, 0, 0, 0, 0);
 		retval = readVar(0);
 		writeArray(0, 0, 0, 0);

Index: script_v7he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v7he.cpp,v
retrieving revision 2.62
retrieving revision 2.63
diff -u -d -r2.62 -r2.63
--- script_v7he.cpp	4 Sep 2004 08:13:47 -0000	2.62
+++ script_v7he.cpp	8 Sep 2004 10:36:06 -0000	2.63
@@ -878,6 +878,7 @@
 			push(0);
 		break;
 	case 2: // string
+		writeVar(0, 0);
 		defineArray(0, kStringArray, 0, 0);
 		retval = readVar(0);
 		writeArray(0, 0, 0, 0);

Index: script_v80he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v80he.cpp,v
retrieving revision 2.6
retrieving revision 2.7
diff -u -d -r2.6 -r2.7
--- script_v80he.cpp	7 Sep 2004 13:30:25 -0000	2.6
+++ script_v80he.cpp	8 Sep 2004 10:36:06 -0000	2.7
@@ -401,6 +401,7 @@
 		push(0);
 		break;
 	case 7: // string
+		writeVar(0, 0);
 		defineArray(0, kStringArray, 0, 0, 0, 0);
 		retval = readVar(0);
 		writeArray(0, 0, 0, 0);





More information about the Scummvm-git-logs mailing list