summaryrefslogtreecommitdiff
path: root/src/being/being.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-12-27 23:53:00 +0300
committerAndrei Karas <akaras@inbox.ru>2017-12-27 23:53:00 +0300
commita47c58162575187e30ab9610436bb608a89393de (patch)
tree4be448b63faadc5503d7e1721516770ecbc5abdb /src/being/being.cpp
parentcdfa51afa1adc0d35055c07f7c6c0c9d42649bea (diff)
downloadplus-a47c58162575187e30ab9610436bb608a89393de.tar.gz
plus-a47c58162575187e30ab9610436bb608a89393de.tar.bz2
plus-a47c58162575187e30ab9610436bb608a89393de.tar.xz
plus-a47c58162575187e30ab9610436bb608a89393de.zip
Remove default paramater from particle.
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);