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/net/eathena/skillrecv.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net/eathena/skillrecv.cpp') diff --git a/src/net/eathena/skillrecv.cpp b/src/net/eathena/skillrecv.cpp index d67620e4c..3301543cd 100644 --- a/src/net/eathena/skillrecv.cpp +++ b/src/net/eathena/skillrecv.cpp @@ -209,6 +209,8 @@ void SkillRecv::processSkillFailed(Net::MessageIn &msg) logger->log("Action: %d/%d", bskill, success); } + if (localPlayer) + localPlayer->stopCast(true); std::string txt; if (success == CAST_S32(SKILL_FAILED) && bskill != 0) { -- cgit v1.2.3-60-g2f50