[Scummvm-cvs-logs] CVS: scummvm/sky control.cpp,1.30,1.31

Robert G?ffringmann lavosspawn at users.sourceforge.net
Tue Jul 8 20:12:04 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv25004/sky

Modified Files:
	control.cpp 
Log Message:
/me slaps himself

Index: control.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/control.cpp,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -d -r1.30 -r1.31
--- control.cpp	9 Jul 2003 00:31:49 -0000	1.30
+++ control.cpp	9 Jul 2003 00:35:41 -0000	1.31
@@ -1325,7 +1325,7 @@
 	if (saveRev >= 3) {
 		LODSD(srcPos, gameVersion);
 		if (gameVersion != SkyState::_systemVars.gameVersion) {
-			if (SkyState::isCDVersion() && (gameVersion >= 365)) { // cd versions are compatible
+			if ((!SkyState::isCDVersion()) || (gameVersion < 365)) { // cd versions are compatible
 				printf("This savegame was created by Beneath a Steel Sky v0.0%03d\n", gameVersion);
 				printf("It cannot be loaded by this version (v0.0%3d)\n", SkyState::_systemVars.gameVersion);
 				return RESTORE_FAILED;





More information about the Scummvm-git-logs mailing list