diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-10-31 21:21:37 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-10-31 21:21:37 +0300 |
commit | e8f29b1cff5360c9d16587b91d72863af4763d08 (patch) | |
tree | 19f69b1cda80609c2c040e4ad6340b84dfd96b2b /src/being/actorsprite.h | |
parent | 2ff2ea08e8d158961d4d38c06ba93c52b919026d (diff) | |
download | manaverse-e8f29b1cff5360c9d16587b91d72863af4763d08.tar.gz manaverse-e8f29b1cff5360c9d16587b91d72863af4763d08.tar.bz2 manaverse-e8f29b1cff5360c9d16587b91d72863af4763d08.tar.xz manaverse-e8f29b1cff5360c9d16587b91d72863af4763d08.zip |
Add support for dead trick status effect (hercules)
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r-- | src/being/actorsprite.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h index d5cb16613..76a4a53fc 100644 --- a/src/being/actorsprite.h +++ b/src/being/actorsprite.h @@ -179,6 +179,12 @@ class ActorSprite notfinal : public CompoundSprite, public Actor virtual void setRiding(const bool b) { mHorseId = b ? 1 : 0; } + virtual void setTrickDead(const bool b) + { mTrickDead = b; } + + bool isTrickDead() const A_WARN_UNUSED + { return mTrickDead; } + protected: /** * Notify self that the stun mode has been updated. Invoked by @@ -244,6 +250,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor bool mMustResetParticles; bool mPoison; bool mHaveCart; + bool mTrickDead; }; #endif // BEING_ACTORSPRITE_H |