diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-08 19:38:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-08 19:38:34 +0300 |
commit | 203045d6184a3e6246b64b3433f43e0bfebc2e31 (patch) | |
tree | 36388d4420f7ac5d11e0a2c2e3d400aaf14e2cee /src/being/actorsprite.cpp | |
parent | eef656d3e65cc8954d03e65aacb04ba0271b7703 (diff) | |
download | manaplus-203045d6184a3e6246b64b3433f43e0bfebc2e31.tar.gz manaplus-203045d6184a3e6246b64b3433f43e0bfebc2e31.tar.bz2 manaplus-203045d6184a3e6246b64b3433f43e0bfebc2e31.tar.xz manaplus-203045d6184a3e6246b64b3433f43e0bfebc2e31.zip |
Add support for post delay status effect. It change cast animation to stand.
Diffstat (limited to 'src/being/actorsprite.cpp')
-rw-r--r-- | src/being/actorsprite.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp index 02da33367..63f224c3d 100644 --- a/src/being/actorsprite.cpp +++ b/src/being/actorsprite.cpp @@ -242,12 +242,16 @@ void ActorSprite::updateStatusEffect(const int index, const Enable newStatus) return; if (effect->isPoison() && getType() == ActorType::Player) setPoison(newStatus == Enable_true); +#ifdef EATHENA_SUPPORT else if (effect->isCart() && localPlayer == this) setHaveCart(newStatus == Enable_true); else if (effect->isRiding()) setRiding(newStatus == Enable_true); else if (effect->isTrickDead()) setTrickDead(newStatus == Enable_true); + else if (effect->isPostDelay()) + setPostDelay(newStatus == Enable_true); +#endif handleStatusEffect(effect, index); } |