From feb97871871b502e11bde630fc6d5c1fd0107dff Mon Sep 17 00:00:00 2001 From: Eidolon Date: Sun, 19 Oct 2025 18:57:48 -0500 Subject: [PATCH] Don't play sonic boom sounds in hyudoro either --- src/p_mobj.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_mobj.c b/src/p_mobj.c index 9da6b8b80..93cfc7911 100644 --- a/src/p_mobj.c +++ b/src/p_mobj.c @@ -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;