Forgot about dud red shell

This commit is contained in:
Sryder13 2017-10-24 13:38:42 +01:00
parent 041d9c4999
commit 35f9b544b1

View file

@ -3128,7 +3128,7 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
K_SpinPlayer(player, source);
damage = player->mo->health - 1;
P_RingDamage(player, inflictor, source, damage);
if (inflictor->type == MT_GREENITEM || inflictor->type == MT_REDITEM)
if (inflictor->type == MT_GREENITEM || inflictor->type == MT_REDITEM || inflictor->type == MT_REDITEMDUD)
P_PlayerRingBurst(player, 5);
player->mo->momx = player->mo->momy = 0;
return true;