summaryrefslogtreecommitdiff
path: root/src/saveload/saveload.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/saveload/saveload.cpp')
-rw-r--r--src/saveload/saveload.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp
index 4b7e3845a..25c1fe958 100644
--- a/src/saveload/saveload.cpp
+++ b/src/saveload/saveload.cpp
@@ -450,6 +450,11 @@ static void SlNullPointers()
{
_sl.action = SLA_NULL;
+ /* We don't want any savegame conversion code to run
+ * during NULLing; especially those that try to get
+ * pointers from other pools. */
+ _sl_version = SAVEGAME_VERSION;
+
DEBUG(sl, 1, "Nulling pointers");
FOR_ALL_CHUNK_HANDLERS(ch) {