From 450ea0cc43e303c00f5eaa27baf1077cdc2b72ae Mon Sep 17 00:00:00 2001 From: Monster Iestyn Date: Fri, 16 Aug 2019 23:19:43 +0100 Subject: [PATCH] Disable the level end music fade code for now, because we discovered it causes freezes sometimes. --- src/p_user.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/p_user.c b/src/p_user.c index 03e1e4e23..3710e87f1 100644 --- a/src/p_user.c +++ b/src/p_user.c @@ -8818,6 +8818,9 @@ void P_PlayerThink(player_t *player) if (player->exiting && countdown2) player->exiting = 5; + // The following code is disabled for now as this causes the game to freeze sometimes + // Monster Iestyn -- 16/08/19 +#if 0 // Same check as below, just at 1 second before // so we can fade music if (!exitfadestarted && @@ -8855,6 +8858,7 @@ void P_PlayerThink(player_t *player) S_FadeOutStopMusic(1*MUSICRATE); } } +#endif if (player->exiting == 2 || countdown2 == 2) {