summaryrefslogtreecommitdiff
path: root/src/elements
diff options
context:
space:
mode:
Diffstat (limited to 'src/elements')
-rw-r--r--src/elements/neut.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/elements/neut.c b/src/elements/neut.c
index afb0523..e3593f5 100644
--- a/src/elements/neut.c
+++ b/src/elements/neut.c
@@ -40,8 +40,10 @@ int create_n_parts(int n, int x, int y, float vx, float vy, float temp, int t)//
parts[i].x = (float)x;
parts[i].y = (float)y;
+#ifdef OGLR
parts[i].lastX = (float)x;
parts[i].lastY = (float)y;
+#endif
parts[i].type = t;
parts[i].life = rand()%480+480;
parts[i].vx = r*cosf(a);