Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix free particle list messing up during particle debug
  • Loading branch information
krawthekrow authored and jacob1 committed Feb 24, 2018
1 parent 39d62f1 commit d7e26e8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/simulation/Simulation.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit d7e26e8

Please sign in to comment.