summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Bosveld <joel@joel-desktop.(none)>2008-01-19 20:48:12 +0900
committerJoel Bosveld <joel@joel-desktop.(none)>2008-01-19 20:48:12 +0900
commit57920fefda378828eeffa8e84633ad108bb00e37 (patch)
tree81a2c7afc98e951d5dbe118ed6c5d222c967c804
parentff0148b81e8bd975018e750f2502b63b2529126f (diff)
downloadcubedbus-57920fefda378828eeffa8e84633ad108bb00e37.tar.gz
cubedbus-57920fefda378828eeffa8e84633ad108bb00e37.tar.bz2
Fixed a typo (copy paste error)
-rw-r--r--particleFx/move.c.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/particleFx/move.c.in b/particleFx/move.c.in
index 819dbc3..733da4f 100644
--- a/particleFx/move.c.in
+++ b/particleFx/move.c.in
@@ -9,7 +9,7 @@ compFxParticleMoveLinear (CompFxParticle *particle)
if(position==NULL || velocity==NULL) return;
position->data[0].f += velocity->data[0].f; /* x += vx */
- position->data[1].f += velocity->data[0].f; /* y += vy */
- position->data[2].f += velocity->data[0].f; /* z += vz */
+ position->data[1].f += velocity->data[1].f; /* y += vy */
+ position->data[2].f += velocity->data[2].f; /* z += vz */
}