summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-03 17:47:17 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-03 17:47:17 +0300
commitad43e58d901bcc89632c80bdcf498acf2f1717c2 (patch)
treea386e723b0e5d090279704bb28b06334e117588d /src/being/actorsprite.h
parent421c0d17d65ee740c992c96b04a00b846b50a2e5 (diff)
downloadmv-ad43e58d901bcc89632c80bdcf498acf2f1717c2.tar.gz
mv-ad43e58d901bcc89632c80bdcf498acf2f1717c2.tar.bz2
mv-ad43e58d901bcc89632c80bdcf498acf2f1717c2.tar.xz
mv-ad43e58d901bcc89632c80bdcf498acf2f1717c2.zip
Add support for riding flag in actorsprite and statuseffect.
Diffstat (limited to 'src/being/actorsprite.h')
-rw-r--r--src/being/actorsprite.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h
index 02a17ea07..12624aa30 100644
--- a/src/being/actorsprite.h
+++ b/src/being/actorsprite.h
@@ -177,6 +177,9 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
bool getHaveCart() const A_WARN_UNUSED
{ return mHaveCart; }
+ virtual void setRiding(const bool b)
+ { mRiding = b; }
+
protected:
/**
* Notify self that the stun mode has been updated. Invoked by
@@ -239,6 +242,7 @@ class ActorSprite notfinal : public CompoundSprite, public Actor
bool mMustResetParticles;
bool mPoison;
bool mHaveCart;
+ bool mRiding;
};
#endif // BEING_ACTORSPRITE_H