From 641d06f74fa6c0f849b268d1d6df3da72608c432 Mon Sep 17 00:00:00 2001 From: Alaux <73968015+MrAlaux@users.noreply.github.com> Date: Fri, 21 Feb 2025 19:47:50 -0300 Subject: [PATCH] Fix ghost monsters being blood-colored --- src/p_enemy.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/p_enemy.c b/src/p_enemy.c index fe19456b7..7da3ee211 100644 --- a/src/p_enemy.c +++ b/src/p_enemy.c @@ -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)!", corpsehit->type, corpsehit->x>>FRACBITS, corpsehit->y>>FRACBITS); } - + + corpsehit->flags2 &= ~MF2_COLOREDBLOOD; + corpsehit->bloodcolor = 0; + corpsehit->health = info->spawnhealth; P_SetTarget(&corpsehit->target, NULL); // killough 11/98