Skip to content

Commit

Permalink
Attempt to fix stuck monsters resurrected by an arch-vile
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Oct 19, 2024
1 parent 2d6dea1 commit 6bc8d90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/p_enemy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1488,6 +1488,7 @@ static bool P_HealCorpse(mobj_t *actor, int radius, statenum_t healstate, sfxnum
corpsehit->altcolfunc = info->altcolfunc;
corpsehit->giblevel = 0;
corpsehit->gibtimer = 0;
corpsehit->floorz = corpsehit->subsector->sector->floorheight;

P_SetTarget(&corpsehit->target, NULL);

Expand Down

0 comments on commit 6bc8d90

Please sign in to comment.