mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Fixed fourth taunt sound not playing
% 4 would output 0 to 3, not 1 to 4 guys :V
This commit is contained in:
parent
11e2d9c6cf
commit
c550bc3df1
1 changed files with 4 additions and 4 deletions
|
|
@ -1192,16 +1192,16 @@ static void K_PlayTauntSound(mobj_t *source)
|
||||||
{
|
{
|
||||||
switch (P_RandomFixed() % 4)
|
switch (P_RandomFixed() % 4)
|
||||||
{
|
{
|
||||||
case 1:
|
case 0:
|
||||||
S_StartSound(source, sfx_taunt1);
|
S_StartSound(source, sfx_taunt1);
|
||||||
return;
|
return;
|
||||||
case 2:
|
case 1:
|
||||||
S_StartSound(source, sfx_taunt2);
|
S_StartSound(source, sfx_taunt2);
|
||||||
return;
|
return;
|
||||||
case 3:
|
case 2:
|
||||||
S_StartSound(source, sfx_taunt3);
|
S_StartSound(source, sfx_taunt3);
|
||||||
return;
|
return;
|
||||||
case 4:
|
case 3:
|
||||||
S_StartSound(source, sfx_taunt4);
|
S_StartSound(source, sfx_taunt4);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue