Skip to content

Commit

Permalink
update snapshot save restriction code
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jun 4, 2017
1 parent 35ce957 commit 572e432
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/client/GameSave.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit 572e432

Please sign in to comment.