Fix stasis walls not keeping dying GOL cells in stasis

This commit is contained in:
Tamás Bálint Misius 2020-09-22 19:43:01 +02:00
parent efd2b41980
commit 88fd676cd2
No known key found for this signature in database
GPG Key ID: 5B472A12F6ECA9F2

View File

@ -4716,7 +4716,10 @@ void Simulation::SimulateGoL()
}
else
{
parts[ID(r)].tmp --;
if (!(bmap[ny/CELL][nx/CELL] == WL_STASIS && emap[ny/CELL][nx/CELL] < 8))
{
parts[ID(r)].tmp --;
}
}
}
}