summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/battle.c1
-rw-r--r--src/map/skill.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 69d54ad38..d7c5147e8 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -4567,6 +4567,7 @@ enum damage_lv battle_weapon_attack(struct block_list* src, struct block_list* t
status_damage(target,e_bl,damage,0,0,0);
// Just show damage in target.
clif_damage(src, target, tick, wd.amotion, wd.dmotion, damage, wd.div_, wd.type, wd.damage2 );
+ map_freeblock_unlock();
return ATK_NONE;
}
}
diff --git a/src/map/skill.c b/src/map/skill.c
index 3bb3d011b..f70290ef3 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8348,6 +8348,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
if(!mapindex)
{ //Given map not found?
clif_skill_fail(sd,skillid,USESKILL_FAIL_LEVEL,0);
+ map_freeblock_unlock();
return 0;
}
pc_setpos(sd, mapindex, x, y, CLR_TELEPORT);