Skip to content

Commit

Permalink
Revert gibbing monsters without xdeathstate
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Nov 5, 2023
1 parent 770a338 commit f87b0bc
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/p_inter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2281,17 +2281,6 @@ void P_DamageMobj(mobj_t *target, mobj_t *inflicter, mobj_t *source, int damage,
target->flags2 ^= MF2_MIRRORED;
}
}
else if (type != MT_BARREL && info->mass <= 500)
{
target->giblevel = 2;
target->flags2 &= ~MF2_CASTSHADOW;

P_SetMobjState(target, S_GIBS);
S_StartSound(target, sfx_slop);

if (r_corpses_mirrored && (M_BigRandom() & 1))
target->flags2 ^= MF2_MIRRORED;
}
}

return;
Expand Down

0 comments on commit f87b0bc

Please sign in to comment.