Merge branch 'prisons-sound' into 'master'

Prison hitconfirm sound even in Time Attack

See merge request KartKrew/Kart!1056
This commit is contained in:
James R 2023-03-17 06:26:15 +00:00
commit 4a7e72482d

View file

@ -1604,13 +1604,16 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
if (givelife) if (givelife)
S_StartSound(NULL, sfx_cdfm73); S_StartSound(NULL, sfx_cdfm73);
} }
else if (timelimitintics) else
{ {
S_StartSound(NULL, sfx_s221); S_StartSound(NULL, sfx_s221);
if (timelimitintics)
{
extratimeintics += 10*TICRATE; extratimeintics += 10*TICRATE;
secretextratime = TICRATE/2; secretextratime = TICRATE/2;
} }
} }
}
break; break;
case MT_BATTLEBUMPER: case MT_BATTLEBUMPER: