summaryrefslogtreecommitdiff
path: root/src/statuseffect.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/statuseffect.h
parent421c0d17d65ee740c992c96b04a00b846b50a2e5 (diff)
downloadmanaplus-ad43e58d901bcc89632c80bdcf498acf2f1717c2.tar.gz
manaplus-ad43e58d901bcc89632c80bdcf498acf2f1717c2.tar.bz2
manaplus-ad43e58d901bcc89632c80bdcf498acf2f1717c2.tar.xz
manaplus-ad43e58d901bcc89632c80bdcf498acf2f1717c2.zip
Add support for riding flag in actorsprite and statuseffect.
Diffstat (limited to 'src/statuseffect.h')
-rw-r--r--src/statuseffect.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/statuseffect.h b/src/statuseffect.h
index 4cba35432..ce99fa5d8 100644
--- a/src/statuseffect.h
+++ b/src/statuseffect.h
@@ -80,6 +80,9 @@ class StatusEffect final
bool isCart() const A_WARN_UNUSED
{ return mIsCart; }
+ bool isRiding() const A_WARN_UNUSED
+ { return mIsRiding; }
+
/**
* Retrieves a status effect.
*
@@ -128,6 +131,7 @@ class StatusEffect final
bool mPersistentParticleEffect;
bool mIsPoison;
bool mIsCart;
+ bool mIsRiding;
};
#endif // STATUSEFFECT_H