summaryrefslogtreecommitdiff
path: root/src/elements/pcln.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements/pcln.cpp')
-rw-r--r--src/elements/pcln.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/elements/pcln.cpp b/src/elements/pcln.cpp
index 4fdffb6..ba2c721 100644
--- a/src/elements/pcln.cpp
+++ b/src/elements/pcln.cpp
@@ -61,6 +61,11 @@ int update_PCLN(UPDATE_FUNC_ARGS) {
{
parts[r].vx = rx * 3;
parts[r].vy = ry * 3;
+ if (r>i)
+ {
+ // Make sure movement doesn't happen until next frame, to avoid gaps in the beams of photons produced
+ parts[r].flags |= FLAG_SKIPMOVE;
+ }
}
}
}