- Ensure save games don't break.

This commit is contained in:
MajorCooke 2015-02-20 01:41:59 -06:00
parent 2939194ae3
commit 3bf24204d8
2 changed files with 3 additions and 1 deletions

View File

@ -68,6 +68,8 @@ void DEarthquake::Serialize (FArchive &arc)
m_IntensityZ = 0;
m_Flags = 0;
}
if (SaveVersion < 4520)
m_CountdownStart = 0;
else
{
arc << m_IntensityY << m_IntensityZ << m_Flags;

View File

@ -76,7 +76,7 @@ const char *GetVersionString();
// Use 4500 as the base git save version, since it's higher than the
// SVN revision ever got.
#define SAVEVER 4519
#define SAVEVER 4520
#define SAVEVERSTRINGIFY2(x) #x
#define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)