Permalink
Browse files

fix free particle list messing up during particle debug

  • Loading branch information...
krawthekrow authored and jacob1 committed Jan 8, 2018
1 parent 39d62f1 commit d7e26e8c0377f4c7463cc8a7e690c20021d120a5
Showing with 2 additions and 1 deletion.
  1. +2 −1 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)
{

0 comments on commit d7e26e8

Please sign in to comment.