fix elementRecount parenthesis

This commit is contained in:
jacob1 2017-05-10 00:11:53 -04:00
parent f54189a97f
commit 9bc19d9933

View File

@ -4954,7 +4954,7 @@ void Simulation::RecalcFreeParticles()
parts[lastPartUnused].life = parts_lastActiveIndex+1;
}
parts_lastActiveIndex = lastPartUsed;
if (elementRecount && !sys_pause || framerender)
if (elementRecount && (!sys_pause || framerender))
elementRecount = false;
}