Fixed Cloud Kill causing a map-server crash

* Follow up to e5a197a and 5fabab9.
This commit is contained in:
aleos89 2016-08-09 17:35:05 -04:00
parent f200541657
commit 99e49d9a45

View File

@ -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) )