mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 05:30:23 +02:00
restrict saves using newer features of elements
This commit is contained in:
@@ -2115,6 +2115,15 @@ char * GameSave::serialiseOPS(unsigned int & dataLength)
|
|||||||
partsData[fieldDescLoc] = fieldDesc;
|
partsData[fieldDescLoc] = fieldDesc;
|
||||||
partsData[fieldDescLoc+1] = fieldDesc>>8;
|
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
|
//Get the pmap entry for the next particle in the same position
|
||||||
i = partsPosLink[i];
|
i = partsPosLink[i];
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user