Fix stasis walls not keeping dying GOL cells in stasis
This commit is contained in:
parent
efd2b41980
commit
88fd676cd2
@ -4715,12 +4715,15 @@ void Simulation::SimulateGoL()
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!(bmap[ny/CELL][nx/CELL] == WL_STASIS && emap[ny/CELL][nx/CELL] < 8))
|
||||
{
|
||||
parts[ID(r)].tmp --;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
for (int ny = CELL; ny < YRES-CELL; ny++)
|
||||
{
|
||||
//go through every particle again, but check neighbor map, then update particles
|
||||
|
Loading…
Reference in New Issue
Block a user