Disable the level end music fade code for now, because we discovered it causes freezes sometimes.

This commit is contained in:
Monster Iestyn 2019-08-16 23:19:43 +01:00
parent e52a314ddb
commit 450ea0cc43
1 changed files with 4 additions and 0 deletions

View File

@ -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)
{