From 833973f1fcce5101145cd0a1e36152678efd1823 Mon Sep 17 00:00:00 2001 From: jacob1 Date: Mon, 13 Jun 2022 00:53:06 -0400 Subject: [PATCH] Mark saves with GLAS/QRTZ/TUNG as 97.0-only They immediately break if under pressure in older versions, because pavg1 (tmp4) isn't set --- src/client/GameSave.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index 7eefd1506..469295aa5 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -2519,6 +2519,10 @@ char * GameSave::serialiseOPS(unsigned int & dataLength) { RESTRICTVERSION(97, 0); } + if (PressureInTmp3(particles[i].type)) + { + RESTRICTVERSION(97, 0); + } //Get the pmap entry for the next particle in the same position i = partsPosLink[i];