From 89a516244846f3af5e14aa3ae2843a9de65fabc2 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 23 Feb 2020 21:56:34 -0500 Subject: [PATCH] restrict new LSNS features to version 95.0 also --- src/client/GameSave.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index 3f245c607..3bc055752 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -2404,6 +2404,13 @@ char * GameSave::serialiseOPS(unsigned int & dataLength) RESTRICTVERSION(94, 0); } } + if (particles[i].type == PT_LSNS) + { + if (particles[i].tmp >= 1 || particles[i].tmp <= 3) + { + RESTRICTVERSION(95, 0); + } + } //Get the pmap entry for the next particle in the same position i = partsPosLink[i];