From 3a17d6aa78026f3f32b039ef4224245ad0241978 Mon Sep 17 00:00:00 2001
From: Christoph Oelckers <c.oelckers@zdoom.fake>
Date: Wed, 27 Apr 2016 13:47:30 +0200
Subject: [PATCH] - fixed savegame compatibility.

---
 src/g_shared/a_quake.cpp | 7 +++++--
 src/version.h            | 2 +-
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/src/g_shared/a_quake.cpp b/src/g_shared/a_quake.cpp
index 7da5824b89..f2f2e9b57d 100644
--- a/src/g_shared/a_quake.cpp
+++ b/src/g_shared/a_quake.cpp
@@ -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;
+	}
 }
 
 //==========================================================================
diff --git a/src/version.h b/src/version.h
index 91ccc3e994..096efa48c5 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 4543
+#define SAVEVER 4544
 
 #define SAVEVERSTRINGIFY2(x) #x
 #define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)