summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-17 15:51:38 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-04-17 15:51:38 +0000
commit7cea51504f4d954bea849f279d46dbaca092539f (patch)
tree7fdb2a79220cf61ad59c2e76951f93e2d60b21e3 /src/map/skill.c
parentb161f7c9964c8de431df6d2682588c15bd01896e (diff)
downloadhercules-7cea51504f4d954bea849f279d46dbaca092539f.tar.gz
hercules-7cea51504f4d954bea849f279d46dbaca092539f.tar.bz2
hercules-7cea51504f4d954bea849f279d46dbaca092539f.tar.xz
hercules-7cea51504f4d954bea849f279d46dbaca092539f.zip
- Fixed TK_RUN having a cast-bar when attempting to stop-running and generating timer_delete errors when halting as well.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6135 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index ee9c55385..d728a7a9f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5747,7 +5747,8 @@ int skill_castend_id( int tid, unsigned int tick, int id,int data )
if(sd && !skill_check_condition(sd,ud->skillid, ud->skilllv,1)) /* 使用条件チェック */
break;
- unit_stop_walking(src,0);
+ if (ud->walktimer != -1 && ud->skillid != TK_RUN)
+ unit_stop_walking(src,0);
if (ud->skillid == SA_MAGICROD)
ud->canact_tick = tick;