Remove instawhip charge on death

This commit is contained in:
AJ Martinez 2024-03-10 18:01:13 -07:00
parent 10d85bd831
commit ad1fed1ab5

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))
{