mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-28 04:51:42 +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))
|
if (playeringame[i] && players[i].mo && !P_MobjWasRemoved(players[i].mo))
|
||||||
P_PlayerAfterThink(&players[i]);
|
P_PlayerAfterThink(&players[i]);
|
||||||
|
|
||||||
// Bosses have a punchy start, so no position.
|
|
||||||
if (K_CheckBossIntro() == true)
|
if (K_CheckBossIntro() == true)
|
||||||
{
|
{
|
||||||
|
// Bosses have a punchy start, so no position.
|
||||||
if (leveltime == 3)
|
if (leveltime == 3)
|
||||||
{
|
{
|
||||||
S_ChangeMusic(mapmusname, mapmusflags, true);
|
S_ChangeMusic(mapmusname, mapmusflags, true);
|
||||||
S_ShowMusicCredit();
|
S_ShowMusicCredit();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Plays the music after the starting countdown.
|
else if (leveltime < starttime + TICRATE)
|
||||||
else
|
|
||||||
{
|
{
|
||||||
|
// Start countdown/music handling
|
||||||
if (leveltime == starttime-(3*TICRATE))
|
if (leveltime == starttime-(3*TICRATE))
|
||||||
{
|
{
|
||||||
S_StartSound(NULL, sfx_s3ka7); // 3,
|
S_StartSound(NULL, sfx_s3ka7); // 3,
|
||||||
|
|
@ -674,10 +674,12 @@ void P_Ticker(boolean run)
|
||||||
}
|
}
|
||||||
else if (leveltime == (starttime + (TICRATE/2)))
|
else if (leveltime == (starttime + (TICRATE/2)))
|
||||||
{
|
{
|
||||||
|
// Plays the music after the starting countdown.
|
||||||
S_ChangeMusic(mapmusname, mapmusflags, true);
|
S_ChangeMusic(mapmusname, mapmusflags, true);
|
||||||
S_ShowMusicCredit();
|
S_ShowMusicCredit();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// POSITION!! music
|
||||||
if (encoremode)
|
if (encoremode)
|
||||||
{
|
{
|
||||||
// Encore humming starts immediately.
|
// Encore humming starts immediately.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue