[Scummvm-cvs-logs] CVS: scummvm/scumm script_v6he.cpp,2.45,2.46

Travis Howell kirben at users.sourceforge.net
Mon May 31 01:57:14 CEST 2004


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

Modified Files:
	script_v6he.cpp 
Log Message:

Switch to _heversion


Index: script_v6he.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v6he.cpp,v
retrieving revision 2.45
retrieving revision 2.46
diff -u -d -r2.45 -r2.46
--- script_v6he.cpp	31 May 2004 08:44:04 -0000	2.45
+++ script_v6he.cpp	31 May 2004 08:56:49 -0000	2.46
@@ -1245,7 +1245,7 @@
 		return;
 	}
 
-	if (_gameId == GID_FREDDEMO) {
+	if (_heversion >= 60) {
 		len = strlen((char *)getStringAddress(a));
 	} else { // FREDDI, PUTTMOON
 		len = stringLen(addr);
@@ -1302,7 +1302,7 @@
 }
 
 void ScummEngine_v6he::o6_unknownF4() {
-	if (_gameId == GID_FREDDEMO) {
+	if (_heversion >= 60) {
 		byte b;
 		int len;
 		b = fetchScriptByte();





More information about the Scummvm-git-logs mailing list