Improved status_isdead and status_get_status_data (#8570)

Co-authored-by: Lemongrass3110 <lemongrass@kstp.at>
This commit is contained in:
AoShinHo
2024-08-22 17:36:29 -03:00
committed by GitHub
parent 295c5ba0f5
commit f3c8c70c81
13 changed files with 313 additions and 307 deletions

View File

@@ -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;
}