Merge branch 'match-race-menu-sounds' into 'master'

Menus/Match Race: sounds for Z/Y buttons

Closes #987

See merge request KartKrew/Kart!1888
This commit is contained in:
James R. 2024-01-31 01:49:36 +00:00
commit af14e43926

View file

@ -4,6 +4,8 @@
#include "../i_time.h"
#include "../k_menu.h"
#include "../m_cond.h" // Condition Sets
#include "../s_sound.h"
#include "../sounds.h"
menuitem_t PLAY_RaceDifficulty[] =
{
@ -44,6 +46,8 @@ static void tick_routine(void)
return;
}
S_StartSound(NULL, sfx_s23b);
switch (g_drace_timer.dist)
{
case drace_mritems:
@ -76,6 +80,7 @@ static boolean input_routine(INT32 ch)
{
g_drace_timer.start = I_GetTime();
g_drace_timer.dist = i;
S_StartSound(NULL, sfx_s3k5b);
return true;
}
}