Disable the level end music fade code for now, because we discovered it causes freezes sometimes.
This commit is contained in:
parent
e52a314ddb
commit
450ea0cc43
|
@ -8818,6 +8818,9 @@ void P_PlayerThink(player_t *player)
|
||||||
if (player->exiting && countdown2)
|
if (player->exiting && countdown2)
|
||||||
player->exiting = 5;
|
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
|
// Same check as below, just at 1 second before
|
||||||
// so we can fade music
|
// so we can fade music
|
||||||
if (!exitfadestarted &&
|
if (!exitfadestarted &&
|
||||||
|
@ -8855,6 +8858,7 @@ void P_PlayerThink(player_t *player)
|
||||||
S_FadeOutStopMusic(1*MUSICRATE);
|
S_FadeOutStopMusic(1*MUSICRATE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
if (player->exiting == 2 || countdown2 == 2)
|
if (player->exiting == 2 || countdown2 == 2)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue