Skip to content

Commit

Permalink
restrict saves using newer features of elements
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob1 committed Jul 26, 2016
1 parent 647ad90 commit 59ac872
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/client/GameSave.cpp
Expand Up @@ -2115,6 +2115,15 @@ char * GameSave::serialiseOPS(unsigned int & dataLength)
partsData[fieldDescLoc] = fieldDesc;
partsData[fieldDescLoc+1] = fieldDesc>>8;

if (particles[i].type == PT_RPEL && particles[i].ctype)
{
RESTRICTVERSION(91, 4);
}
else if (particles[i].type == PT_NWHL && particles[i].tmp)
{
RESTRICTVERSION(91, 5);
}

//Get the pmap entry for the next particle in the same position
i = partsPosLink[i];
}
Expand Down

0 comments on commit 59ac872

Please sign in to comment.