mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-23 12:32:34 +00:00
- Ensure save games don't break.
This commit is contained in:
parent
2939194ae3
commit
3bf24204d8
2 changed files with 3 additions and 1 deletions
|
@ -68,6 +68,8 @@ void DEarthquake::Serialize (FArchive &arc)
|
||||||
m_IntensityZ = 0;
|
m_IntensityZ = 0;
|
||||||
m_Flags = 0;
|
m_Flags = 0;
|
||||||
}
|
}
|
||||||
|
if (SaveVersion < 4520)
|
||||||
|
m_CountdownStart = 0;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
arc << m_IntensityY << m_IntensityZ << m_Flags;
|
arc << m_IntensityY << m_IntensityZ << m_Flags;
|
||||||
|
|
|
@ -76,7 +76,7 @@ const char *GetVersionString();
|
||||||
|
|
||||||
// Use 4500 as the base git save version, since it's higher than the
|
// Use 4500 as the base git save version, since it's higher than the
|
||||||
// SVN revision ever got.
|
// SVN revision ever got.
|
||||||
#define SAVEVER 4519
|
#define SAVEVER 4520
|
||||||
|
|
||||||
#define SAVEVERSTRINGIFY2(x) #x
|
#define SAVEVERSTRINGIFY2(x) #x
|
||||||
#define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)
|
#define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)
|
||||||
|
|
Loading…
Reference in a new issue