From 84a3ce662567b6b1e79475442bddb1f29d4bc83c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 4 Mar 2015 12:57:18 +0300 Subject: Fix disabling riding. --- src/statuseffect.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/statuseffect.cpp') diff --git a/src/statuseffect.cpp b/src/statuseffect.cpp index c5e660abd..5d69aa6df 100644 --- a/src/statuseffect.cpp +++ b/src/statuseffect.cpp @@ -217,6 +217,8 @@ void StatusEffect::loadXmlFile(const std::string &fileName) node, "persistent-particle-effect", "no")) != "no"; endEffect->mIsPoison = startEffect->mIsPoison; + endEffect->mIsCart = startEffect->mIsCart; + endEffect->mIsRiding = startEffect->mIsRiding; endEffect->mMessage = XML::getProperty(node, "end-message", ""); endEffect->mSFXEffect = XML::getProperty(node, "end-audio", ""); endEffect->mParticleEffect = XML::getProperty( -- cgit v1.2.3-70-g09d2