Restrict version to 97.0 in saves with reinforced glass

This commit is contained in:
jacob1 2022-04-04 23:19:36 -04:00
parent d5f94f4718
commit 48e15af738
No known key found for this signature in database
GPG Key ID: 4E58A32D510E1995

View File

@ -2515,6 +2515,10 @@ char * GameSave::serialiseOPS(unsigned int & dataLength)
{
RESTRICTVERSION(96, 0);
}
if (particles[i].type == PT_GLAS && particles[i].life > 0)
{
RESTRICTVERSION(97, 0);
}
//Get the pmap entry for the next particle in the same position
i = partsPosLink[i];