summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 00c0caaa4..2d992d24f 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -10017,14 +10017,14 @@ int skill_castend_pos(int tid, int64 tick, int id, intptr_t data) {
if( sd && sd->skillitem != AL_WARP ) // Warp-Portal thru items will clear data in skill_castend_map. [Inkfish]
sd->skillitem = sd->skillitemlv = 0;
+ unit->setdir(src, map->calc_dir(src, ud->skillx, ud->skilly));
+
if (ud->skilltimer == INVALID_TIMER) {
if (md) md->skill_idx = -1;
else ud->skill_id = 0; //Non mobs can't clear this one as it is used for skill condition 'afterskill'
ud->skill_lv = ud->skillx = ud->skilly = 0;
}
- unit->setdir(src, map->calc_dir(src, ud->skillx, ud->skilly));
-
map->freeblock_unlock();
return 1;
} while(0);