Fix ghost monsters being blood-colored (#2210)

This commit is contained in:
Alaux 2025-02-22 04:10:18 -03:00 committed by GitHub
parent 926c90b2cb
commit 873e736f84
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1766,7 +1766,10 @@ static boolean P_HealCorpse(mobj_t* actor, int radius, statenum_t healstate, sfx
I_Printf(VB_WARNING, "A_VileChase: Resurrected ghost monster (%d) at (%d/%d)!", I_Printf(VB_WARNING, "A_VileChase: Resurrected ghost monster (%d) at (%d/%d)!",
corpsehit->type, corpsehit->x>>FRACBITS, corpsehit->y>>FRACBITS); corpsehit->type, corpsehit->x>>FRACBITS, corpsehit->y>>FRACBITS);
} }
corpsehit->flags2 &= ~MF2_COLOREDBLOOD;
corpsehit->bloodcolor = 0;
corpsehit->health = info->spawnhealth; corpsehit->health = info->spawnhealth;
P_SetTarget(&corpsehit->target, NULL); // killough 11/98 P_SetTarget(&corpsehit->target, NULL); // killough 11/98