From 99e49d9a45c94d55719fabb12fbeecb46bd9935b Mon Sep 17 00:00:00 2001 From: aleos89 Date: Tue, 9 Aug 2016 17:35:05 -0400 Subject: [PATCH] Fixed Cloud Kill causing a map-server crash * Follow up to e5a197a and 5fabab9. --- src/map/status.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/map/status.c b/src/map/status.c index 4f91dab965..13fc26298b 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -12514,6 +12514,8 @@ int status_change_timer(int tid, unsigned int tick, int id, intptr_t data) struct block_list *src = map_id2bl(sce->val2), *unit_bl = map_id2bl(sce->val3); if (src && unit_bl){ + map_freeblock_lock(); + dounlock = true; skill_attack(skill_get_type(status_sc2skill(type)), src, unit_bl, bl, SO_CLOUD_KILL, sce->val1, tick, 0); if( !status_isdead(bl) )