From 3019f2cc237af2be6c6bee260910cc93130a2608 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Fri, 20 Feb 2015 16:50:03 +0100 Subject: [PATCH] - fixed savegame code for quakes. --- src/g_shared/a_quake.cpp | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/g_shared/a_quake.cpp b/src/g_shared/a_quake.cpp index c7290830b2..38cff2d2dc 100644 --- a/src/g_shared/a_quake.cpp +++ b/src/g_shared/a_quake.cpp @@ -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; + } + } //==========================================================================