mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-02-20 02:54:16 +00:00
- 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:
parent
ad18c7396e
commit
332d9b9ad1
1 changed files with 3 additions and 2 deletions
|
@ -78,8 +78,9 @@
|
||||||
#define MINSAVEVER 1848
|
#define MINSAVEVER 1848
|
||||||
|
|
||||||
#if SVN_REVISION_NUMBER < MINSAVEVER
|
#if SVN_REVISION_NUMBER < MINSAVEVER
|
||||||
// Never write a savegame with a version lower than what we need
|
// If we don't know the current revision write something very high to ensure that
|
||||||
#define SAVEVER MINSAVEVER
|
// the reesulting executable can read its own savegames but no regular engine can.
|
||||||
|
#define SAVEVER 9999
|
||||||
#define SAVESIG MakeSaveSig()
|
#define SAVESIG MakeSaveSig()
|
||||||
static inline const char *MakeSaveSig()
|
static inline const char *MakeSaveSig()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue