can't believe i messed up the brackets this bad, woops

This commit is contained in:
toaster 2022-02-09 23:43:06 +00:00
parent c3e9eceda2
commit 8f4e8a4953

View file

@ -1932,10 +1932,10 @@ boolean P_DamageMobj(mobj_t *target, mobj_t *inflictor, mobj_t *source, INT32 da
boolean allowcombo = (hardhit == !(damagetype & DMG_WOMBO));
// Tumble is a special case.
if ((type == DMG_TUMBLE)
if (type == DMG_TUMBLE)
{
// 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;
}