mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
Remove redundant music reset block for MIXNIGHTSCOUNTDOWN
This commit is contained in:
parent
5e06530829
commit
607d647435
1 changed files with 0 additions and 10 deletions
10
src/p_user.c
10
src/p_user.c
|
|
@ -6378,16 +6378,6 @@ static void P_NiGHTSMovement(player_t *player)
|
||||||
{
|
{
|
||||||
P_DeNightserizePlayer(player);
|
P_DeNightserizePlayer(player);
|
||||||
S_StartScreamSound(player->mo, sfx_s3k66);
|
S_StartScreamSound(player->mo, sfx_s3k66);
|
||||||
|
|
||||||
if (mapheaderinfo[gamemap-1]->levelflags & LF_MIXNIGHTSCOUNTDOWN)
|
|
||||||
{
|
|
||||||
S_StopSoundByNum(sfx_timeup); // Kill the "out of time" music, if it's playing.
|
|
||||||
S_StopFadingMusic();
|
|
||||||
S_SetInternalMusicVolume(100);
|
|
||||||
}
|
|
||||||
else
|
|
||||||
P_RestoreMusic(player); // I have my doubts that this is the right place for this...
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
else if (P_IsLocalPlayer(player) && player->nightstime == 10*TICRATE)
|
else if (P_IsLocalPlayer(player) && player->nightstime == 10*TICRATE)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue