From 7870ec56a3aa18c2b46e5a4a847d9d903ee25e09 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 17 Mar 2024 16:13:56 -0400 Subject: [PATCH] Limit saves with ETRD with .tmp or .tmp2 set to 98.0 --- src/client/GameSave.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index caf68ab05..48a1e0ccc 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -2340,6 +2340,10 @@ std::pair> GameSave::serialiseOPS() const { RESTRICTVERSION(98, 0); } + if (particles[i].type == PT_ETRD && (particles[i].tmp || particles[i].tmp2)) + { + RESTRICTVERSION(98, 0); + } //Get the pmap entry for the next particle in the same position i = partsPosLink[i];