diff options
author | markzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-06 06:07:16 +0000 |
---|---|---|
committer | markzd <markzd@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2012-12-06 06:07:16 +0000 |
commit | a4c33783bebffab97d2b7c4f6918a718be87f84a (patch) | |
tree | e47a2e83cfd7c3f6c4edd5c34cc6b99aee0f2cb2 /src/map/unit.c | |
parent | 92acb858e0706b7dca01174d753adf4e4ab78dc8 (diff) | |
download | hercules-a4c33783bebffab97d2b7c4f6918a718be87f84a.tar.gz hercules-a4c33783bebffab97d2b7c4f6918a718be87f84a.tar.bz2 hercules-a4c33783bebffab97d2b7c4f6918a718be87f84a.tar.xz hercules-a4c33783bebffab97d2b7c4f6918a718be87f84a.zip |
- Fixed a glitch(related to r16921) which caused running skills from not stopping when recasted. (bugreport:6026)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@17005 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/unit.c')
-rw-r--r-- | src/map/unit.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/unit.c b/src/map/unit.c index 51da8ef24..a49385071 100644 --- a/src/map/unit.c +++ b/src/map/unit.c @@ -1260,7 +1260,8 @@ int unit_skilluse_id2(struct block_list *src, int target_id, short skill_num, sh casttime = skill_vfcastfix(src, casttime, skill_num, skill_lv); #endif - unit_stop_walking(src,1);// eventhough this is not how official works but this will do the trick. bugreport:6829 + if(!ud->state.running) //need TK_RUN or WUGDASH handler to be done before that, see bugreport:6026 + unit_stop_walking(src,1);// eventhough this is not how official works but this will do the trick. bugreport:6829 // in official this is triggered even if no cast time. clif_skillcasting(src, src->id, target_id, 0,0, skill_num, skill_get_ele(skill_num, skill_lv), casttime); if( casttime > 0 || temp ) |