Showing the changes to interface/src/ParticleSystem.cpp (1 of 3 files). Show all
Unified · Split
| @@ -41,7 +41,7 @@ ParticleSystem::ParticleSystem() { · 40 unmodified lines | |||
| 41 | e->particleRenderStyle = PARTICLE_RENDER_STYLE_SPHERE; | 41 | e->particleRenderStyle = PARTICLE_RENDER_STYLE_SPHERE; |
| 42 | e->numParticlesEmittedThisTime = 0; | 42 | e->numParticlesEmittedThisTime = 0; |
| 43 | 43 | ||
| 44 | for (int lifeStage = 0; lifeStage<NUM_PARTICLE_LIFE_STAGES; lifeStage++) { | 44 | for (int lifeStage = 0; lifeStage < NUM_PARTICLE_LIFE_STAGES; lifeStage++) { |
| 45 | setParticleAttributesToDefault(&_emitter[emitterIndex].particleAttributes[lifeStage]); | 45 | setParticleAttributesToDefault(&_emitter[emitterIndex].particleAttributes[lifeStage]); |
| 46 | } | 46 | } |
| 47 | }; | 47 | }; |