From 572e432045fa0948658e7b28f5252931a1d2143e Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 4 Jun 2017 18:10:07 -0400 Subject: [PATCH] update snapshot save restriction code --- src/client/GameSave.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index c59d4d8bd..95cd0b70a 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -2130,7 +2130,13 @@ char * GameSave::serialiseOPS(unsigned int & dataLength) RESTRICTVERSION(91, 5); } #ifdef SNAPSHOT - if (particles[i].type == PT_E180 || particles[i].type == PT_E181 || particles[i].type == PT_E182) + if (particles[i].type == PT_HEAC || particles[i].type == PT_SAWD || particles[i].type == PT_POLO + || particles[i].type == PT_RFRG || particles[i].type == PT_RFGL || particles[i].type == PT_LSNS) + { + RESTRICTVERSION(92, 0); + fromNewerVersion = true; + } + else if ((particles[i].type == PT_FRAY || particles[i].type == PT_INVIS) && particles[i].tmp) { RESTRICTVERSION(92, 0); fromNewerVersion = true;