- Fixed bug related to particles not updating smoothly

This commit is contained in:
Mark Vejvoda
2010-08-26 01:25:27 +00:00
parent 5a796444b8
commit 5fb040c9f1
3 changed files with 7 additions and 23 deletions

View File

@@ -37,8 +37,8 @@ ParticleSystem::ParticleSystem(int particleCount) {
blendMode = bmOne;
//particles= new Particle[particleCount];
particles.clear();
particles.reserve(300);
particles.resize(1);
//particles.reserve(particleCount);
particles.resize(particleCount);
state= sPlay;
aliveParticleCount=0;