mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
can't believe i messed up the brackets this bad, woops
This commit is contained in:
parent
c3e9eceda2
commit
8f4e8a4953
1 changed files with 2 additions and 2 deletions
|
|
@ -1932,10 +1932,10 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
|
||||||
boolean allowcombo = (hardhit == !(damagetype & DMG_WOMBO));
|
boolean allowcombo = (hardhit == !(damagetype & DMG_WOMBO));
|
||||||
|
|
||||||
// Tumble is a special case.
|
// Tumble is a special case.
|
||||||
if ((type == DMG_TUMBLE)
|
if (type == DMG_TUMBLE)
|
||||||
{
|
{
|
||||||
// don't allow constant combo
|
// don't allow constant combo
|
||||||
if (player->tumbleBounces == 1 && (P_MobjFlip(target)*target->momz > 0)
|
if (player->tumbleBounces == 1 && (P_MobjFlip(target)*target->momz > 0))
|
||||||
allowcombo = false;
|
allowcombo = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue