summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorshennetsind <shennetsind@users.noreply.github.com>2015-01-18 20:37:46 -0200
committershennetsind <shennetsind@users.noreply.github.com>2015-01-18 20:37:46 -0200
commite3426296a6add20845bd08013355fd3d5f975556 (patch)
treea42e89adb43fafdc5b7752eb3da4c0a241e66523 /src/map
parent0957abd4d19b82b8dc8d7db2743008fa3daff3fa (diff)
parentd23460aabcf335fad302fd37ce86ee8d8a76d16a (diff)
downloadhercules-e3426296a6add20845bd08013355fd3d5f975556.tar.gz
hercules-e3426296a6add20845bd08013355fd3d5f975556.tar.bz2
hercules-e3426296a6add20845bd08013355fd3d5f975556.tar.xz
hercules-e3426296a6add20845bd08013355fd3d5f975556.zip
Merge pull request #446 from csnv/quickfix
Fixes direction in AOE skills
Diffstat (limited to 'src/map')
-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);