Skip to content

Commit

Permalink
Fix ghost monsters being blood-colored (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlaux authored Feb 22, 2025
1 parent 926c90b commit 873e736
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/p_enemy.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 873e736

Please sign in to comment.