fix free particle list messing up during particle debug
This commit is contained in:
parent
39d62f1aad
commit
d7e26e8c03
@ -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)
|
||||||
|
Reference in New Issue
Block a user