- bugfix for particles when they finish

This commit is contained in:
Mark Vejvoda 2010-08-27 03:06:28 +00:00
parent a4e75417e4
commit 0504ea3b97
1 changed files with 1 additions and 1 deletions

View File

@ -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];
}
}
}