P_DamageMobj: Fix DMG_STING not playing sound

This commit is contained in:
toaster 2023-02-02 22:19:22 +00:00
parent 057b46f4bd
commit 9bf5328d55

View file

@ -2337,13 +2337,11 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
break;
}
if (type != DMG_STING && type != DMG_STUMBLE)
if (type != DMG_STUMBLE)
{
if (type != DMG_STING)
player->flashing = K_GetKartFlashing(player);
}
if (ringburst > 0)
{
P_PlayRinglossSound(target);
P_PlayerRingBurst(player, ringburst);
}