Skip to content

Commit

Permalink
Disable the level end music fade code for now, because we discovered …
Browse files Browse the repository at this point in the history
…it causes freezes sometimes.
  • Loading branch information
MonsterIestyn committed Aug 16, 2019
1 parent e52a314 commit 450ea0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/p_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down Expand Up @@ -8855,6 +8858,7 @@ void P_PlayerThink(player_t *player)
S_FadeOutStopMusic(1*MUSICRATE);
}
}
#endif

if (player->exiting == 2 || countdown2 == 2)
{
Expand Down

0 comments on commit 450ea0c

Please sign in to comment.