fix free particle list messing up during particle debug

This commit is contained in:
krawthekrow 2018-01-08 11:01:09 -05:00 committed by jacob1
parent 39d62f1aad
commit d7e26e8c03

View File

@ -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)
{