- fixed savegame compatibility.

This commit is contained in:
Christoph Oelckers 2016-04-27 13:47:30 +02:00
parent 762d186657
commit 3a17d6aa78
2 changed files with 6 additions and 3 deletions

View file

@ -71,8 +71,11 @@ void DEarthquake::Serialize (FArchive &arc)
<< m_TremorRadius << m_DamageRadius
<< m_QuakeSFX << m_Flags << m_CountdownStart
<< m_WaveSpeed
<< m_Falloff << m_Highpoint << m_MiniCount
<< m_RollIntensity << m_RollWave;
<< m_Falloff << m_Highpoint << m_MiniCount;
if (SaveVersion >= 4544)
{
arc << m_RollIntensity << m_RollWave;
}
}
//==========================================================================

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 4543
#define SAVEVER 4544
#define SAVEVERSTRINGIFY2(x) #x
#define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)