summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/particle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp
index a04cee6f3..9d755276d 100644
--- a/src/particle/particle.cpp
+++ b/src/particle/particle.cpp
@@ -324,6 +324,7 @@ bool Particle::update() restrict2
{
// move particle with its parent if desired
(*p)->moveBy(change);
+ ++p;
}
}