[Scummvm-cvs-logs] CVS: scummvm/scumm saveload.cpp,1.145,1.146

Travis Howell kirben at users.sourceforge.net
Sun Feb 22 08:29:03 CET 2004


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

Modified Files:
	saveload.cpp 
Log Message:

Correct extra slow subtitles in zak/maniac with old saves.


Index: saveload.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/saveload.cpp,v
retrieving revision 1.145
retrieving revision 1.146
diff -u -d -r1.145 -r1.146
--- saveload.cpp	22 Feb 2004 03:08:13 -0000	1.145
+++ saveload.cpp	22 Feb 2004 16:15:49 -0000	1.146
@@ -179,9 +179,13 @@
 	if (_screenTop < 0)
 		_screenTop = 0;
 	
-	// For a long time, we used incorrect location, causing it to default to zero.
-	if (hdr.ver < VER(30) && _version == 8)
-		_scummVars[VAR_CHARINC] = (_features & GF_DEMO) ? 3 : 1;
+	if (hdr.ver < VER(30)) {
+		// For a long time, we used incorrect location, causing it to default to zero.
+		if (_version == 8)
+			_scummVars[VAR_CHARINC] = (_features & GF_DEMO) ? 3 : 1;
+		// Needed due to subtitle speed changes
+		_defaultTalkDelay /= 20;
+	}
 
 	// For a long time, we used incorrect locations for some camera related
 	// scumm vars. We now know the proper locations. To be able to properly use





More information about the Scummvm-git-logs mailing list