Skip to content

Commit

Permalink
Fixed Cloud Kill causing a map-server crash
Browse files Browse the repository at this point in the history
* Follow up to e5a197a and 5fabab9.
  • Loading branch information
aleos89 committed Aug 9, 2016
1 parent f200541 commit 99e49d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/map/status.c
Expand Up @@ -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) )
Expand Down

0 comments on commit 99e49d9

Please sign in to comment.