From 2ee29630fb3b30868ee73a3e63bdf0c827e094f4 Mon Sep 17 00:00:00 2001 From: Alug Date: Mon, 30 Sep 2024 16:19:54 +0200 Subject: [PATCH] fix encore music again lol --- src/p_spec.c | 2 +- src/p_user.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/p_spec.c b/src/p_spec.c index 058fe9413..f09562f4d 100644 --- a/src/p_spec.c +++ b/src/p_spec.c @@ -2135,7 +2135,7 @@ static void P_ProcessLineSpecial(line_t *line, mobj_t *mo, sector_t *callsec) if (keepmusic && (leveltime < (starttime + TICRATE))) //why check for starttime? cause encore music Zzz... return; - if (ignoremusicchanges && (leveltime < (starttime + TICRATE) && !fromlapexec)) // keep lap music intanct tho + if (ignoremusicchanges && (leveltime > (starttime + TICRATE) && !fromlapexec)) // keep lap music intanct tho return; // console player only unless NOCLIMB is set diff --git a/src/p_user.c b/src/p_user.c index 093143e95..a6e4791e6 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -650,9 +650,6 @@ boolean P_EndingMusic(player_t *player) INT32 bestlocalpos; player_t *bestlocalplayer; - if (ignoremusicchanges) - return false; - if (!P_IsLocalPlayer(player)) // Only applies to a local player return false;