Partycles.

This commit is contained in:
Stiffly
2015-10-06 21:42:54 +02:00
parent ca810743b2
commit 8b12c1036d
8 changed files with 124 additions and 49 deletions
+1 -1
View File
@@ -654,7 +654,7 @@ int32 b2ParticleSystem::CreateParticle(const b2ParticleDef& def)
// If the oldest particle should be destroyed...
if (m_def.destroyByAge)
{
DestroyOldestParticle(0, false);
DestroyOldestParticle(0, true);
// Need to destroy this particle *now* so that it's possible to
// create a new particle.
SolveZombie();