From b57db7991ab4c5a41eadb17191d239dfd8d6a410 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1s=20B=C3=A1lint=20Misius?= Date: Thu, 8 Dec 2022 07:57:34 +0100 Subject: [PATCH] Restrict tmp2 != 0 CONV to 97.0 See 0e361c170cbf0a6bef0d667780202f4b01d41ec9. --- src/client/GameSave.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index f0dc0e1f8..84fa09094 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -2314,6 +2314,10 @@ std::pair> GameSave::serialiseOPS() const { RESTRICTVERSION(97, 0); } + if (particles[i].type == PT_CONV && particles[i].tmp2 != 0) + { + RESTRICTVERSION(97, 0); + } //Get the pmap entry for the next particle in the same position i = partsPosLink[i];