fix ctrl+f shortcut not working with particle debugging enabled

This commit is contained in:
jacob1 2017-07-29 00:32:22 -04:00
parent a278892267
commit 2a829c2394

View File

@ -84,6 +84,8 @@ bool ParticleDebug::KeyPress(int key, Uint16 character, bool shift, bool ctrl, b
}
else
{
if (ctrl)
return true;
if (sim->debug_currentParticle > 0)
{
sim->UpdateParticles(sim->debug_currentParticle, NPART);