[Scummvm-cvs-logs] CVS: scummvm/sky control.cpp,1.29,1.30
Robert G?ffringmann
lavosspawn at users.sourceforge.net
Tue Jul 8 20:12:29 CEST 2003
Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv24372/sky
Modified Files:
control.cpp
Log Message:
script data is the same for 0.0365, 0.0368 and 0.0372, so allow switching saved games.
Index: control.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/control.cpp,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- control.cpp 8 Jul 2003 22:08:29 -0000 1.29
+++ control.cpp 9 Jul 2003 00:31:49 -0000 1.30
@@ -1325,9 +1325,11 @@
if (saveRev >= 3) {
LODSD(srcPos, gameVersion);
if (gameVersion != SkyState::_systemVars.gameVersion) {
- 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;
+ 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;
+ }
}
LODSW(srcPos, _skySound->_saveSounds[0]);
LODSW(srcPos, _skySound->_saveSounds[1]);
More information about the Scummvm-git-logs
mailing list