Cleaned up commenting and conditions for start countdown changes

This commit is contained in:
toaster 2023-03-01 17:21:22 +00:00
parent 5f74d8ca85
commit f305246311

View file

@ -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.