diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-08 20:44:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-08 20:44:03 +0300 |
commit | 66c3c6d23bb3286eb49cc6f132813f64f065cbfa (patch) | |
tree | c951ea7f4e39d1a326458692a8bf46da4cf0668b /src/net/eathena/skillrecv.cpp | |
parent | 203045d6184a3e6246b64b3433f43e0bfebc2e31 (diff) | |
download | mv-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.tar.gz mv-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.tar.bz2 mv-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.tar.xz mv-66c3c6d23bb3286eb49cc6f132813f64f065cbfa.zip |
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.
Diffstat (limited to 'src/net/eathena/skillrecv.cpp')
-rw-r--r-- | src/net/eathena/skillrecv.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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) { |