mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
EXP sounds
This commit is contained in:
parent
79ae7a1674
commit
eb6de11c65
1 changed files with 6 additions and 1 deletions
|
|
@ -85,7 +85,12 @@ void Obj_ExpThink (mobj_t *exp)
|
||||||
exp->extravalue1++;
|
exp->extravalue1++;
|
||||||
|
|
||||||
if (exp->extravalue1 >= 16)
|
if (exp->extravalue1 >= 16)
|
||||||
|
{
|
||||||
|
S_StopSoundByID(exp->target, sfx_exp);
|
||||||
|
S_StartSound(exp->target, sfx_exp);
|
||||||
P_RemoveMobj(exp);
|
P_RemoveMobj(exp);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue