mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-17 02:01:15 +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)
|
static void K_PlayTauntSound(mobj_t *source)
|
||||||
{
|
{
|
||||||
switch (P_RandomFixed() % 4)
|
S_StartSound(source, sfx_taunt1+P_RandomKey(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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void K_MomentumToFacing(player_t *player)
|
void K_MomentumToFacing(player_t *player)
|
||||||
|
|
Loading…
Reference in a new issue