mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +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
|
||||
|
||||
#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()
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue