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++;
|
||||
|
||||
if (exp->extravalue1 >= 16)
|
||||
{
|
||||
S_StopSoundByID(exp->target, sfx_exp);
|
||||
S_StartSound(exp->target, sfx_exp);
|
||||
P_RemoveMobj(exp);
|
||||
}
|
||||
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
@ -140,4 +145,4 @@ void Obj_ExpThink (mobj_t *exp)
|
|||
exp->extravalue2 = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue