Skip to content

Commit

Permalink
Don't generate bloodsplats when using kill CCMD on lost souls
Browse files Browse the repository at this point in the history
  • Loading branch information
bradharding committed Jan 24, 2025
1 parent 565e0d5 commit f95152f
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 @@ -2256,7 +2256,7 @@ void P_DamageMobj(mobj_t *target, mobj_t *inflicter, mobj_t *source, int damage,
// thus kick away unless using the chainsaw.
if (massacre)
{
if (!(flags & MF_NOBLOOD))
if (!(flags & MF_NOBLOOD) && type != MT_SKULL)
{
angle_t ang = R_PointToAngle2(target->x + (M_BigRandomInt(-100, 100) << FRACBITS),
target->y + (M_BigRandomInt(-100, 100) << FRACBITS), target->x, target->y) >> ANGLETOFINESHIFT;
Expand Down

0 comments on commit f95152f

Please sign in to comment.