From ea407dcf7f05a00224a1e3fdabf1273a4a60b0df Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Aug 2016 00:15:01 +0300 Subject: Fix possible infinite loop in particles --- src/particle/particle.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; } } -- cgit v1.2.3-70-g09d2