From 66c3c6d23bb3286eb49cc6f132813f64f065cbfa Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 8 Feb 2016 20:44:03 +0300 Subject: Stop cast animation also if got skill error message. But this is not all cases. For always correct stop cast animation, need use animation command "jump" to stand animation. --- src/being/being.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being/being.cpp') diff --git a/src/being/being.cpp b/src/being/being.cpp index 29c28c463..6aedf790e 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -2432,7 +2432,7 @@ void Being::updateColors() void Being::updateSprite(const unsigned int slot, const int id, - std::string color, + const std::string &restrict color, const ItemColor colorId, const bool isWeapon, const bool isTempSprite) restrict2 @@ -4349,7 +4349,7 @@ void Being::removeSpiritBalls(const unsigned int balls) restrict2 } } -void Being::setPostDelay(const bool b) +void Being::stopCast(const bool b) { if (b && mAction == BeingAction::CAST) setAction(BeingAction::STAND, 0); -- cgit v1.2.3-60-g2f50