mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-03-06 11:21:10 +00:00
Play horns at full volume for targeted players
This commit is contained in:
parent
83cbdb4601
commit
687c26e219
1 changed files with 2 additions and 1 deletions
|
|
@ -773,7 +773,8 @@ void K_FollowerHornTaunt(player_t *taunter, player_t *victim)
|
|||
honk->fuse = TICRATE/2;
|
||||
honk->renderflags |= RF_DONTDRAW;
|
||||
|
||||
S_StartSound(taunter->follower, fl->hornsound);
|
||||
if (P_IsDisplayPlayer(victim) || P_IsDisplayPlayer(taunter))
|
||||
S_StartSound(NULL, fl->hornsound);
|
||||
|
||||
honk->flags2 |= MF2_AMBUSH;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue