mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Merge branch 'prisons-sound' into 'master'
Prison hitconfirm sound even in Time Attack See merge request KartKrew/Kart!1056
This commit is contained in:
commit
4a7e72482d
1 changed files with 6 additions and 3 deletions
|
|
@ -1604,11 +1604,14 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
|
|||
if (givelife)
|
||||
S_StartSound(NULL, sfx_cdfm73);
|
||||
}
|
||||
else if (timelimitintics)
|
||||
else
|
||||
{
|
||||
S_StartSound(NULL, sfx_s221);
|
||||
extratimeintics += 10*TICRATE;
|
||||
secretextratime = TICRATE/2;
|
||||
if (timelimitintics)
|
||||
{
|
||||
extratimeintics += 10*TICRATE;
|
||||
secretextratime = TICRATE/2;
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue