- fixed savegame code for quakes.

This commit is contained in:
Christoph Oelckers 2015-02-20 16:50:03 +01:00
parent 0074e1d216
commit 3019f2cc23
1 changed files with 9 additions and 2 deletions

View File

@ -68,12 +68,19 @@ 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;
}
if (SaveVersion < 4520)
{
m_CountdownStart = 0;
}
else
{
arc << m_CountdownStart;
}
}
//==========================================================================