diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-03 17:47:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-03 17:47:17 +0300 |
commit | ad43e58d901bcc89632c80bdcf498acf2f1717c2 (patch) | |
tree | a386e723b0e5d090279704bb28b06334e117588d /src/statuseffect.h | |
parent | 421c0d17d65ee740c992c96b04a00b846b50a2e5 (diff) | |
download | plus-ad43e58d901bcc89632c80bdcf498acf2f1717c2.tar.gz plus-ad43e58d901bcc89632c80bdcf498acf2f1717c2.tar.bz2 plus-ad43e58d901bcc89632c80bdcf498acf2f1717c2.tar.xz plus-ad43e58d901bcc89632c80bdcf498acf2f1717c2.zip |
Add support for riding flag in actorsprite and statuseffect.
Diffstat (limited to 'src/statuseffect.h')
-rw-r--r-- | src/statuseffect.h | 4 |
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 |