mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-16 17:51:27 +00:00
Taunt sound simplification
This commit is contained in:
parent
0ed75724e6
commit
a144a04abb
1 changed files with 1 additions and 15 deletions
16
src/k_kart.c
16
src/k_kart.c
|
@ -1190,21 +1190,7 @@ void K_KartPlayerAfterThink(player_t *player)
|
|||
|
||||
static void K_PlayTauntSound(mobj_t *source)
|
||||
{
|
||||
switch (P_RandomFixed() % 4)
|
||||
{
|
||||
case 0:
|
||||
S_StartSound(source, sfx_taunt1);
|
||||
return;
|
||||
case 1:
|
||||
S_StartSound(source, sfx_taunt2);
|
||||
return;
|
||||
case 2:
|
||||
S_StartSound(source, sfx_taunt3);
|
||||
return;
|
||||
case 3:
|
||||
S_StartSound(source, sfx_taunt4);
|
||||
return;
|
||||
}
|
||||
S_StartSound(source, sfx_taunt1+P_RandomKey(4));
|
||||
}
|
||||
|
||||
void K_MomentumToFacing(player_t *player)
|
||||
|
|
Loading…
Reference in a new issue