From 3bf24204d838d87bc7f96a907c872a4a5871eea7 Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Fri, 20 Feb 2015 01:41:59 -0600 Subject: [PATCH] - Ensure save games don't break. --- src/g_shared/a_quake.cpp | 2 ++ src/version.h | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/g_shared/a_quake.cpp b/src/g_shared/a_quake.cpp index 1f13ffd61..8fe060cd7 100644 --- a/src/g_shared/a_quake.cpp +++ b/src/g_shared/a_quake.cpp @@ -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; diff --git a/src/version.h b/src/version.h index 2be4787ee..794bdcec8 100644 --- a/src/version.h +++ b/src/version.h @@ -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)