mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 14:51:51 +00:00
- fixed savegame code for quakes.
This commit is contained in:
parent
0074e1d216
commit
3019f2cc23
1 changed files with 9 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
|
|
Loading…
Reference in a new issue