Permalink
Browse files

fix elementRecount parenthesis

  • Loading branch information...
jacob1 committed May 10, 2017
1 parent f54189a commit 9bc19d9933cddd99d3dee56cee2a84640531a21d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/simulation/Simulation.cpp
@@ -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;
}

0 comments on commit 9bc19d9

Please sign in to comment.