diff options
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( |