mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 16:32:36 +00:00
Merge branch 'exp-local-only-sfx' into 'master'
Only play EXP sound for yourself See merge request kart-krew-dev/ring-racers-internal!2936
This commit is contained in:
commit
a91e62029a
1 changed files with 3 additions and 0 deletions
|
|
@ -85,9 +85,12 @@ void Obj_ExpThink (mobj_t *exp)
|
|||
exp->extravalue1++;
|
||||
|
||||
if (exp->extravalue1 >= 16)
|
||||
{
|
||||
if(P_IsDisplayPlayer(player)) // As you know Kris, I am FUCKING your EXP.
|
||||
{
|
||||
S_StopSoundByID(exp->target, sfx_exp);
|
||||
S_StartSound(exp->target, sfx_exp);
|
||||
}
|
||||
P_RemoveMobj(exp);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue