Merge branch 'eid-hyudoro-sonicboom' into 'master'

Don't play sonic boom sounds in hyudoro either

See merge request kart-krew-dev/ring-racers-internal!2962
This commit is contained in:
Eidolon 2025-10-19 20:35:45 -05:00
commit 2a7b4c1396

View file

@ -8120,9 +8120,9 @@ static boolean P_MobjRegularThink(mobj_t *mobj)
mobj->renderflags |= (RF_DONTDRAW & ~K_GetPlayerDontDrawFlag(player));
// Alright, let's just handle all the sfx down here
boolean not_invinc_or_grow = player->invincibilitytimer == 0 && player->growshrinktimer <= 0;
boolean not_perma_tripwireok = player->invincibilitytimer == 0 && player->growshrinktimer <= 0 && player->hyudorotimer == 0;
if (P_IsDisplayPlayer(player) && not_invinc_or_grow && not_respawning)
if (P_IsDisplayPlayer(player) && not_perma_tripwireok && not_respawning)
{
UINT8 MIN_VOLUME = 25;
UINT8 MAX_VOLUME = 75;