From d7e26e8c0377f4c7463cc8a7e690c20021d120a5 Mon Sep 17 00:00:00 2001 From: krawthekrow Date: Mon, 8 Jan 2018 11:01:09 -0500 Subject: [PATCH] fix free particle list messing up during particle debug --- src/simulation/Simulation.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/simulation/Simulation.cpp b/src/simulation/Simulation.cpp index 020a5990d..3c6fadb43 100644 --- a/src/simulation/Simulation.cpp +++ b/src/simulation/Simulation.cpp @@ -5200,7 +5200,8 @@ void Simulation::BeforeSim() sandcolour = (int)(20.0f*sin((float)sandcolour_frame*(M_PI/180.0f))); sandcolour_frame = (sandcolour_frame+1)%360; - RecalcFreeParticles(true); + if (debug_currentParticle == 0) + RecalcFreeParticles(true); if (!sys_pause || framerender) {