Permalink
Browse files

update snapshot save restriction code

  • Loading branch information...
jacob1 committed Jun 4, 2017
1 parent 35ce957 commit 572e432045fa0948658e7b28f5252931a1d2143e
Showing with 7 additions and 1 deletion.
  1. +7 −1 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;

0 comments on commit 572e432

Please sign in to comment.