From 8e9e4c7aace75cd52408cc237232219b6b24a772 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Mon, 25 Mar 2024 01:34:53 -0400 Subject: [PATCH] New vroom sound --- src/f_finale.c | 25 +++---------------------- 1 file changed, 3 insertions(+), 22 deletions(-) diff --git a/src/f_finale.c b/src/f_finale.c index a45e1c18c..0d9ca4d28 100644 --- a/src/f_finale.c +++ b/src/f_finale.c @@ -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)