Scale player weight buff from speed to mobjscale

This commit is contained in:
James R 2022-11-29 01:59:17 -08:00
parent 5f42692b8f
commit 7b2095f6a5

View file

@ -1508,7 +1508,7 @@ static fixed_t K_PlayerWeight(mobj_t *mobj, mobj_t *against)
weight = (mobj->player->kartweight) * FRACUNIT;
if (mobj->player->speed > spd)
weight += (mobj->player->speed - spd) / 8;
weight += FixedDiv((mobj->player->speed - spd), 8 * mapobjectscale);
if (mobj->player->itemtype == KITEM_BUBBLESHIELD)
weight += 9*FRACUNIT;