mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 20:41:46 +00:00
Disable the level end music fade code for now, because we discovered it causes freezes sometimes.
This commit is contained in:
parent
a20079e410
commit
fcc2a8014c
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue