mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 08:22:58 +00:00
Only play EXP sound for yourself
This commit is contained in:
parent
5284dba540
commit
9080d932f5
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ void Obj_ExpThink (mobj_t *exp)
|
|||
exp->angle += ANG30;
|
||||
exp->extravalue1++;
|
||||
|
||||
if (exp->extravalue1 >= 16)
|
||||
if (exp->extravalue1 >= 16 && P_IsDisplayPlayer(player))
|
||||
{
|
||||
S_StopSoundByID(exp->target, sfx_exp);
|
||||
S_StartSound(exp->target, sfx_exp);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue