[Scummvm-cvs-logs] CVS: scummvm/scumm scumm.cpp,1.98,1.99

Travis Howell kirben at users.sourceforge.net
Fri Jul 23 01:51:08 CEST 2004


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

Modified Files:
	scumm.cpp 
Log Message:

Only needed for Zak [ega]


Index: scumm.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/scumm.cpp,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- scumm.cpp	22 Jul 2004 11:31:07 -0000	1.98
+++ scumm.cpp	23 Jul 2004 08:50:16 -0000	1.99
@@ -1276,13 +1276,14 @@
 
 void ScummEngine::initScummVars() {
 
-	if (_version <= 2 || _heversion == 70) {
-		// This needs to be at least greater than 40 to get the more
-		// elaborate version of the EGA Zak into. I don't know where
-		// else it makes any difference.
+	// This needs to be at least greater than 40 to get the more
+	// elaborate version of the EGA Zak into. I don't know where
+	// else it makes any difference.
+	if (_gameId == GID_ZAK)
 		VAR(VAR_MACHINE_SPEED) = 0x7FFF;
+
+	if (_version <= 2)
 		return;
-	}
 
 	if (_version >= 4 && _version <= 5)
 		VAR(VAR_V5_TALK_STRING_Y) = -0x50;





More information about the Scummvm-git-logs mailing list