mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-03 18:01:25 +00:00
New vroom sound
This commit is contained in:
parent
779108175f
commit
8e9e4c7aac
1 changed files with 3 additions and 22 deletions
|
|
@ -861,36 +861,17 @@ void F_IntroTicker(void)
|
|||
}
|
||||
}
|
||||
|
||||
intro_curtime = introscenetime[intro_scenenum] - timetonext;
|
||||
|
||||
if (intro_scenenum == INTROSCENE_KREW)
|
||||
{
|
||||
if (intro_curtime == TICRATE/2)
|
||||
S_StartSound(NULL, sfx_kc5e);
|
||||
|
||||
if (timetonext == 5)
|
||||
if (timetonext == 24)
|
||||
S_StartSound(NULL, sfx_vroom);
|
||||
else if (timetonext == 24)
|
||||
{
|
||||
// Need to use M_Random otherwise it always uses the same sound
|
||||
UINT32 rskin;
|
||||
UINT8 rtaunt;
|
||||
if (skippableallowed)
|
||||
{
|
||||
rskin = R_GetLocalRandomSkin();
|
||||
rtaunt = M_RandomKey(2);
|
||||
}
|
||||
else
|
||||
{
|
||||
rskin = R_SkinAvailableEx("eggman", false);
|
||||
rtaunt = 1;
|
||||
}
|
||||
|
||||
sfxenum_t rsound = skins[rskin].soundsid[SKSKBST1+rtaunt];
|
||||
S_StartSound(NULL, rsound);
|
||||
}
|
||||
}
|
||||
|
||||
intro_curtime = introscenetime[intro_scenenum] - timetonext;
|
||||
|
||||
F_WriteText();
|
||||
|
||||
if (animtimer > 0)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue