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.cpp | |
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.cpp')
-rw-r--r-- | src/statuseffect.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp index 41697b852..c5e660abd 100644 --- a/src/statuseffect.cpp +++ b/src/statuseffect.cpp @@ -50,7 +50,8 @@ StatusEffect::StatusEffect() : mAction(), mPersistentParticleEffect(false), mIsPoison(false), - mIsCart(false) + mIsCart(false), + mIsRiding(false) { } @@ -201,6 +202,8 @@ void StatusEffect::loadXmlFile(const std::string &fileName) (name == paths.getStringValue("poisonEffectName")); startEffect->mIsCart = (name == paths.getStringValue("cartEffectName")); + startEffect->mIsRiding = + (name == paths.getStringValue("ridingEffectName")); startEffect->mMessage = XML::getProperty( node, "start-message", ""); startEffect->mSFXEffect = XML::getProperty( |