summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r--src/being/being.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index ce89a59bd..aebfc7169 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -1369,10 +1369,12 @@ void Being::fireMissile(Being *restrict const victim,
return;
}
+ // +++ add z particle position?
Particle *restrict const missileParticle = target->addEffect(
missile.particle,
mPixelX,
- mPixelY);
+ mPixelY,
+ 0);
target->moveBy(Vector(0.0F, 0.0F, missile.z));
target->setLifetime(missile.lifeTime);