summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-04 12:57:18 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-04 12:57:18 +0300
commit84a3ce662567b6b1e79475442bddb1f29d4bc83c (patch)
tree5fbbe416572420c9cbc79103bb2e70f66fac187e /src
parentac8a09b7076e03b6b9d17288181dca7abc7f37bb (diff)
downloadmv-84a3ce662567b6b1e79475442bddb1f29d4bc83c.tar.gz
mv-84a3ce662567b6b1e79475442bddb1f29d4bc83c.tar.bz2
mv-84a3ce662567b6b1e79475442bddb1f29d4bc83c.tar.xz
mv-84a3ce662567b6b1e79475442bddb1f29d4bc83c.zip
Fix disabling riding.
Diffstat (limited to 'src')
-rw-r--r--src/statuseffect.cpp2
1 files changed, 2 insertions, 0 deletions
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(