Tricking players tumble other players, in all gametypes

This commit is contained in:
James R 2023-12-04 20:57:11 -08:00
parent 7d998d0d91
commit 4746f877c3

View file

@ -1472,11 +1472,11 @@ static BlockItReturn_t PIT_CheckThing(mobj_t *thing)
// The bump has to happen last
if (P_IsObjectOnGround(thing) && tm.thing->momz < 0 && tm.thing->player->trickpanel)
{
P_DamageMobj(thing, tm.thing, tm.thing, 1, DMG_WIPEOUT|DMG_STEAL);
P_DamageMobj(thing, tm.thing, tm.thing, 1, DMG_TUMBLE);
}
else if (P_IsObjectOnGround(tm.thing) && thing->momz < 0 && thing->player->trickpanel)
{
P_DamageMobj(tm.thing, thing, thing, 1, DMG_WIPEOUT|DMG_STEAL);
P_DamageMobj(tm.thing, thing, thing, 1, DMG_TUMBLE);
}
if (K_KartBouncing(tm.thing, thing) == true)