mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Cleaned up commenting and conditions for start countdown changes
This commit is contained in:
parent
5f74d8ca85
commit
f305246311
1 changed files with 5 additions and 3 deletions
|
|
@ -647,18 +647,18 @@ void P_Ticker(boolean run)
|
|||
if (playeringame[i] && players[i].mo && !P_MobjWasRemoved(players[i].mo))
|
||||
P_PlayerAfterThink(&players[i]);
|
||||
|
||||
// Bosses have a punchy start, so no position.
|
||||
if (K_CheckBossIntro() == true)
|
||||
{
|
||||
// Bosses have a punchy start, so no position.
|
||||
if (leveltime == 3)
|
||||
{
|
||||
S_ChangeMusic(mapmusname, mapmusflags, true);
|
||||
S_ShowMusicCredit();
|
||||
}
|
||||
}
|
||||
// Plays the music after the starting countdown.
|
||||
else
|
||||
else if (leveltime < starttime + TICRATE)
|
||||
{
|
||||
// Start countdown/music handling
|
||||
if (leveltime == starttime-(3*TICRATE))
|
||||
{
|
||||
S_StartSound(NULL, sfx_s3ka7); // 3,
|
||||
|
|
@ -674,10 +674,12 @@ void P_Ticker(boolean run)
|
|||
}
|
||||
else if (leveltime == (starttime + (TICRATE/2)))
|
||||
{
|
||||
// Plays the music after the starting countdown.
|
||||
S_ChangeMusic(mapmusname, mapmusflags, true);
|
||||
S_ShowMusicCredit();
|
||||
}
|
||||
|
||||
// POSITION!! music
|
||||
if (encoremode)
|
||||
{
|
||||
// Encore humming starts immediately.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue