Improved status_isdead and status_get_status_data (#8570)
Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
@@ -1443,7 +1443,7 @@ static int mob_ai_sub_hard_slavemob(struct mob_data *md,t_tick tick)
|
||||
|
||||
bl=map_id2bl(md->master_id);
|
||||
|
||||
if (!bl || status_isdead(bl)) {
|
||||
if (!bl || status_isdead(*bl)) {
|
||||
status_kill(&md->bl);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user