mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-01-12 01:32:16 +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)
|
||||
{
|
||||
case 1:
|
||||
case 0:
|
||||
S_StartSound(source, sfx_taunt1);
|
||||
return;
|
||||
case 2:
|
||||
case 1:
|
||||
S_StartSound(source, sfx_taunt2);
|
||||
return;
|
||||
case 3:
|
||||
case 2:
|
||||
S_StartSound(source, sfx_taunt3);
|
||||
return;
|
||||
case 4:
|
||||
case 3:
|
||||
S_StartSound(source, sfx_taunt4);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue