fix elementRecount never being reset to false, fixes #417

This commit is contained in:
jacob1 2017-05-09 21:49:54 -04:00
parent 8830120479
commit 2d7934bca6

View File

@ -4954,6 +4954,8 @@ void Simulation::RecalcFreeParticles()
parts[lastPartUnused].life = parts_lastActiveIndex+1;
}
parts_lastActiveIndex = lastPartUsed;
if (elementRecount)
elementRecount = false;
}
void Simulation::CheckStacking()