mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-22 10:02:01 +00:00
Change when the kstart sound occours, because getting a lag spike at a bad time can still make it happen inaccurately early.
This commit is contained in:
parent
f13149c061
commit
2036a62043
2 changed files with 10 additions and 9 deletions
10
src/g_game.c
10
src/g_game.c
|
|
@ -1308,6 +1308,16 @@ void G_StartTitleCard(void)
|
|||
// prepare status bar
|
||||
ST_startTitleCard();
|
||||
|
||||
// play the sound
|
||||
{
|
||||
sfxenum_t kstart = sfx_kstart;
|
||||
if (bossinfo.boss)
|
||||
kstart = sfx_ssa021;
|
||||
else if (encoremode)
|
||||
kstart = sfx_ruby2;
|
||||
S_StartSound(NULL, kstart);
|
||||
}
|
||||
|
||||
// start the title card
|
||||
WipeStageTitle = (!titlemapinaction);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4259,15 +4259,6 @@ boolean P_LoadLevel(boolean fromnetsave, boolean reloadinggamestate)
|
|||
}
|
||||
|
||||
F_RunWipe(wipedefs[wipe_level_toblack], false, ((levelfadecol == 0) ? "FADEMAP1" : "FADEMAP0"), false, false);
|
||||
|
||||
{
|
||||
sfxenum_t kstart = sfx_kstart;
|
||||
if (bossinfo.boss)
|
||||
kstart = sfx_ssa021;
|
||||
else if (encoremode)
|
||||
kstart = sfx_ruby2;
|
||||
S_StartSound(NULL, kstart);
|
||||
}
|
||||
}
|
||||
/*if (!titlemapinaction)
|
||||
wipegamestate = GS_LEVEL;*/
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue