diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-20 17:18:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-20 17:18:48 +0300 |
commit | fa923f929b3f52a18273b5831425b2e3db08e583 (patch) | |
tree | 871b78176375b51f418c2d9dc4445ea98489f407 /src/being | |
parent | 130ad803401e9d582a2118d9bc92b984222b00f1 (diff) | |
download | manaverse-fa923f929b3f52a18273b5831425b2e3db08e583.tar.gz manaverse-fa923f929b3f52a18273b5831425b2e3db08e583.tar.bz2 manaverse-fa923f929b3f52a18273b5831425b2e3db08e583.tar.xz manaverse-fa923f929b3f52a18273b5831425b2e3db08e583.zip |
Fix cart enable/disable status effect.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/actorsprite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp index a2e7524cc..343018204 100644 --- a/src/being/actorsprite.cpp +++ b/src/being/actorsprite.cpp @@ -220,7 +220,7 @@ void ActorSprite::updateStatusEffect(const int index, const bool newStatus) return; if (effect->isPoison() && getType() == ActorType::Player) setPoison(newStatus); - if (localPlayer == this) + if (effect->isCart() && localPlayer == this) setHaveCart(newStatus); handleStatusEffect(effect, index); } |