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,11 +1604,14 @@ 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);
extratimeintics += 10*TICRATE; if (timelimitintics)
secretextratime = TICRATE/2; {
extratimeintics += 10*TICRATE;
secretextratime = TICRATE/2;
}
} }
} }
break; break;