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,6 +5200,7 @@ void Simulation::BeforeSim()
sandcolour = (int)(20.0f*sin((float)sandcolour_frame*(M_PI/180.0f))); sandcolour = (int)(20.0f*sin((float)sandcolour_frame*(M_PI/180.0f)));
sandcolour_frame = (sandcolour_frame+1)%360; sandcolour_frame = (sandcolour_frame+1)%360;
if (debug_currentParticle == 0)
RecalcFreeParticles(true); RecalcFreeParticles(true);
if (!sys_pause || framerender) if (!sys_pause || framerender)