diff --git a/source/shared_lib/sources/graphics/particle.cpp b/source/shared_lib/sources/graphics/particle.cpp index 75dfbd22..f5b069b9 100644 --- a/source/shared_lib/sources/graphics/particle.cpp +++ b/source/shared_lib/sources/graphics/particle.cpp @@ -88,7 +88,7 @@ void ParticleSystem::update() { //maintain alive particles at front of the array if(aliveParticleCount > 0) { - particles[i] = particles[aliveParticleCount-1]; + particles[i] = particles[aliveParticleCount]; } } }