MT_BATTLECAPSULE: Always play a Starpost sound, even if you're not getting extra timelimit for it, just because the hitconfirm is good seratonin

This commit is contained in:
toaster 2023-03-15 17:46:27 +00:00
parent b6aed379b5
commit 2bec35a9e9

View file

@ -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;