mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Remove instawhip charge on death
This commit is contained in:
parent
10d85bd831
commit
ad1fed1ab5
1 changed files with 2 additions and 0 deletions
|
|
@ -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.
|
// so make sure that this draws at the correct angle.
|
||||||
target->rollangle = 0;
|
target->rollangle = 0;
|
||||||
|
|
||||||
|
target->player->instaWhipCharge = 0;
|
||||||
|
|
||||||
fixed_t inflictorSpeed = 0;
|
fixed_t inflictorSpeed = 0;
|
||||||
if (!P_MobjWasRemoved(inflictor))
|
if (!P_MobjWasRemoved(inflictor))
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue