summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-07 20:44:16 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-07 20:44:16 +0300
commit04716c42ec49bfbb42296dd8980d6f8dd1c09e59 (patch)
treea2cf6e57036d96609a653cf68f2adc9255fec5ba /src/being
parent8ec4e8575001e50ac2917b0a1599d2a6223aa337 (diff)
downloadmv-04716c42ec49bfbb42296dd8980d6f8dd1c09e59.tar.gz
mv-04716c42ec49bfbb42296dd8980d6f8dd1c09e59.tar.bz2
mv-04716c42ec49bfbb42296dd8980d6f8dd1c09e59.tar.xz
mv-04716c42ec49bfbb42296dd8980d6f8dd1c09e59.zip
Add additional attributes to missile particle in attacks.
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 9e3104c5f..030f022a2 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -958,7 +958,7 @@ void Being::handleAttack(Being *restrict const victim,
if (mType == ActorType::Player && (mEquippedWeapon != nullptr))
fireMissile(victim, mEquippedWeapon->getMissileParticleFile());
else if (mInfo->getAttack(attackId) != nullptr)
- fireMissile(victim, mInfo->getAttack(attackId)->mMissileParticle);
+ fireMissile(victim, mInfo->getAttack(attackId)->mMissile.particle);
reset();
mActionTime = tick_time;