From 48e15af738969e6ec8c692e7bc8bcb3484d8d432 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Mon, 4 Apr 2022 23:19:36 -0400 Subject: [PATCH] Restrict version to 97.0 in saves with reinforced glass --- src/client/GameSave.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index 8c105353b..7eefd1506 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -2515,6 +2515,10 @@ char * GameSave::serialiseOPS(unsigned int & dataLength) { RESTRICTVERSION(96, 0); } + if (particles[i].type == PT_GLAS && particles[i].life > 0) + { + RESTRICTVERSION(97, 0); + } //Get the pmap entry for the next particle in the same position i = partsPosLink[i];