mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-29 10:20:36 +00:00
parent
02dfa10d27
commit
6980c64f7b
1 changed files with 2 additions and 1 deletions
|
@ -894,7 +894,8 @@ public:
|
||||||
{
|
{
|
||||||
bonuscnt++;
|
bonuscnt++;
|
||||||
S_PlaySound(SHOTGUN_COCK, CHAN_AUTO, CHANF_UI);
|
S_PlaySound(SHOTGUN_COCK, CHAN_AUTO, CHANF_UI);
|
||||||
S_PlaySound(BONUS_SPEECH1 + (rand() & 3), CHAN_AUTO, CHANF_UI);
|
static const uint16_t speeches[] = { BONUS_SPEECH1, BONUS_SPEECH2, BONUS_SPEECH3, BONUS_SPEECH4};
|
||||||
|
S_PlaySound(speeches[(rand() & 3)], CHAN_AUTO, CHANF_UI);
|
||||||
}
|
}
|
||||||
case 1:
|
case 1:
|
||||||
case 4:
|
case 4:
|
||||||
|
|
Loading…
Reference in a new issue