diff options
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 4f80c23bb..21ec6c585 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2298,7 +2298,7 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type) mobskill_use_id(md,&md->bl,skillidx);//Ž©”š‰r¥ŠJŽn md->state.special_mob_ai++; } - if (md->master_id==src->id) + if (src && md->master_id==src->id) md->target_dir=map_calc_dir(src,md->bl.x,md->bl.y)+1; } |