diff --git a/src/osgParticle/ParticleSystem.cpp b/src/osgParticle/ParticleSystem.cpp index b93ae55a6..d22a144e0 100644 --- a/src/osgParticle/ParticleSystem.cpp +++ b/src/osgParticle/ParticleSystem.cpp @@ -183,7 +183,7 @@ void osgParticle::ParticleSystem::single_pass_render(osg::State& /*state*/, con const Particle* currentParticle = &_particles[i]; if (currentParticle->isAlive()) { - if (currentParticle->getShape() != startParticle->getShape()); + if (currentParticle->getShape() != startParticle->getShape()) { startParticle->endRender(); currentParticle->beginRender();