Skip to content

Commit

Permalink
Fix allowing barrels to be gibbed
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Nov 4, 2023
1 parent 93ca17b commit 782ad7a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/p_inter.c
Original file line number Diff line number Diff line change
Expand Up @@ -2281,7 +2281,7 @@ void P_DamageMobj(mobj_t *target, mobj_t *inflicter, mobj_t *source, int damage,
target->flags2 ^= MF2_MIRRORED;
}
}
else
else if (type != MT_BARREL && info->mass <= 500)
{
target->giblevel = 2;
target->flags2 &= ~MF2_CASTSHADOW;
Expand Down

0 comments on commit 782ad7a

Please sign in to comment.