mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-16 21:34:01 +02:00
Mark saves with GLAS/QRTZ/TUNG as 97.0-only
They immediately break if under pressure in older versions, because pavg1 (tmp4) isn't set
This commit is contained in:
@@ -2519,6 +2519,10 @@ char * GameSave::serialiseOPS(unsigned int & dataLength)
|
|||||||
{
|
{
|
||||||
RESTRICTVERSION(97, 0);
|
RESTRICTVERSION(97, 0);
|
||||||
}
|
}
|
||||||
|
if (PressureInTmp3(particles[i].type))
|
||||||
|
{
|
||||||
|
RESTRICTVERSION(97, 0);
|
||||||
|
}
|
||||||
|
|
||||||
//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