diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-07 20:44:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-07 20:44:16 +0300 |
commit | 04716c42ec49bfbb42296dd8980d6f8dd1c09e59 (patch) | |
tree | a2cf6e57036d96609a653cf68f2adc9255fec5ba /src/being | |
parent | 8ec4e8575001e50ac2917b0a1599d2a6223aa337 (diff) | |
download | plus-04716c42ec49bfbb42296dd8980d6f8dd1c09e59.tar.gz plus-04716c42ec49bfbb42296dd8980d6f8dd1c09e59.tar.bz2 plus-04716c42ec49bfbb42296dd8980d6f8dd1c09e59.tar.xz plus-04716c42ec49bfbb42296dd8980d6f8dd1c09e59.zip |
Add additional attributes to missile particle in attacks.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/being.cpp | 2 |
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; |