From e8f29b1cff5360c9d16587b91d72863af4763d08 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 31 Oct 2015 21:21:37 +0300 Subject: Add support for dead trick status effect (hercules) --- src/being/actorsprite.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/being/actorsprite.h') 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 -- cgit v1.2.3-60-g2f50