mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
P_DamageMobj: Fix DMG_STING not playing sound
This commit is contained in:
parent
057b46f4bd
commit
9bf5328d55
1 changed files with 3 additions and 5 deletions
|
|
@ -2337,13 +2337,11 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (type != DMG_STING && type != DMG_STUMBLE)
|
if (type != DMG_STUMBLE)
|
||||||
{
|
{
|
||||||
player->flashing = K_GetKartFlashing(player);
|
if (type != DMG_STING)
|
||||||
}
|
player->flashing = K_GetKartFlashing(player);
|
||||||
|
|
||||||
if (ringburst > 0)
|
|
||||||
{
|
|
||||||
P_PlayRinglossSound(target);
|
P_PlayRinglossSound(target);
|
||||||
P_PlayerRingBurst(player, ringburst);
|
P_PlayerRingBurst(player, ringburst);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue