mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 21:50:18 +02:00
update snapshot save restriction code
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user