Merge branch 'no-death-whip-reject' into 'master'

Remove instawhip charge on death

Closes #1138

See merge request KartKrew/Kart!2081
This commit is contained in:
Oni 2024-03-11 03:10:55 +00:00
commit 69b5c40b35

View file

@ -1885,6 +1885,8 @@ void P_KillMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, UINT8 damaget
// so make sure that this draws at the correct angle.
target->rollangle = 0;
target->player->instaWhipCharge = 0;
fixed_t inflictorSpeed = 0;
if (!P_MobjWasRemoved(inflictor))
{