summaryrefslogtreecommitdiff
path: root/src/statuseffect.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/statuseffect.cpp')
-rw-r--r--src/statuseffect.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp
index b9499fc2e..987529631 100644
--- a/src/statuseffect.cpp
+++ b/src/statuseffect.cpp
@@ -49,7 +49,8 @@ StatusEffect::StatusEffect() :
mIcon(),
mAction(),
mPersistentParticleEffect(false),
- mIsPoison(false)
+ mIsPoison(false),
+ mIsCart(false)
{
}
@@ -198,6 +199,8 @@ void StatusEffect::loadXmlFile(const std::string &fileName)
startEffect->mIsPoison =
(name == paths.getStringValue("poisonEffectName"));
+ startEffect->mIsCart =
+ (name == paths.getStringValue("cartEffectName"));
startEffect->mMessage = XML::getProperty(
node, "start-message", "");
startEffect->mSFXEffect = XML::getProperty(