From 9bc19d9933cddd99d3dee56cee2a84640531a21d Mon Sep 17 00:00:00 2001 From: jacob1 Date: Wed, 10 May 2017 00:11:53 -0400 Subject: [PATCH] fix elementRecount parenthesis --- src/simulation/Simulation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 1a7c9638f..77a5cf7f8 100644 --- a/src/simulation/Simulation.cpp +++ b/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; }