- Changed savegame versioning for SVN-less builds to use a SAVEVER value of 999999 so that it is guaranteed that such a build can load its own savegames - even if it is at the cost of losing the ability to handle older savegames. People should build ZDoom with revision info anyway. ;)

SVN r2997 (trunk)
This commit is contained in:
Christoph Oelckers 2010-11-07 23:48:55 +00:00
parent ad18c7396e
commit 332d9b9ad1

View file

@ -78,8 +78,9 @@
#define MINSAVEVER 1848
#if SVN_REVISION_NUMBER < MINSAVEVER
// Never write a savegame with a version lower than what we need
#define SAVEVER MINSAVEVER
// If we don't know the current revision write something very high to ensure that
// the reesulting executable can read its own savegames but no regular engine can.
#define SAVEVER 9999
#define SAVESIG MakeSaveSig()
static inline const char *MakeSaveSig()
{