summaryrefslogtreecommitdiff
path: root/src/particle/particle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle/particle.cpp')
-rw-r--r--src/particle/particle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp
index 73cbb4b0d..97c2c42d6 100644
--- a/src/particle/particle.cpp
+++ b/src/particle/particle.cpp
@@ -239,7 +239,7 @@ bool Particle::update() restrict2
// Update child particles
for (ParticleIterator p = mChildParticles.begin(),
- p2 = mChildParticles.end(); p != p2; )
+ fp2 = mChildParticles.end(); p != fp2; )
{
Particle *restrict const particle = *p;
// move particle with its parent if desired