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.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/being/being.h') diff --git a/src/being/being.h b/src/being/being.h index 48e8b8c5e..6c1e09fa8 100644 --- a/src/being/being.h +++ b/src/being/being.h @@ -315,7 +315,7 @@ class Being notfinal : public ActorSprite, void updateSprite(const unsigned int slot, const int id, - std::string color = "", + const std::string &restrict color = "", const ItemColor colorId = ItemColor_one, const bool isWeapon = false, const bool isTempSprite = false) restrict2; @@ -939,7 +939,7 @@ class Being notfinal : public ActorSprite, unsigned int getSpiritBalls() const restrict2 noexcept A_WARN_UNUSED { return mSpiritBalls; } - void setPostDelay(const bool b) override final; + void stopCast(const bool b) override final; #endif void setKarma(const int karma) restrict2 noexcept -- cgit v1.2.3-60-g2f50