diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-08-08 00:15:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-08-08 00:15:01 +0300 |
commit | ea407dcf7f05a00224a1e3fdabf1273a4a60b0df (patch) | |
tree | a7090420cccdc3a307cb52fad922d37e0b864b64 /src/particle | |
parent | ac8a0111677c27779b2e7effe8ffe42ea013eb57 (diff) | |
download | plus-ea407dcf7f05a00224a1e3fdabf1273a4a60b0df.tar.gz plus-ea407dcf7f05a00224a1e3fdabf1273a4a60b0df.tar.bz2 plus-ea407dcf7f05a00224a1e3fdabf1273a4a60b0df.tar.xz plus-ea407dcf7f05a00224a1e3fdabf1273a4a60b0df.zip |
Fix possible infinite loop in particles
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/particle.cpp | 1 |
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; } } |