From ad43e58d901bcc89632c80bdcf498acf2f1717c2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 3 Mar 2015 17:47:17 +0300 Subject: Add support for riding flag in actorsprite and statuseffect. --- src/statuseffect.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/statuseffect.h') 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 -- cgit v1.2.3-60-g2f50