Leave bot friction alone on dash pads

Should fix #752, otherwise probably isn't harmful though.
This commit is contained in:
Sally Coolatta 2023-12-19 08:59:01 -05:00
parent 47fdab3bdd
commit 54e62bbd8f

View file

@ -11191,6 +11191,8 @@ fixed_t K_PlayerBaseFriction(player_t *player, fixed_t original)
);
fixed_t frict = original;
if (player->dashpadcooldown == 0) // attempt to fix Hot Shelter
{
if (K_PodiumSequence() == true)
{
frict -= FixedMul(FRACUNIT >> 4, factor);
@ -11210,6 +11212,7 @@ fixed_t K_PlayerBaseFriction(player_t *player, fixed_t original)
frict -= FixedMul(extraFriction, mul);
}
}
}
if (frict > FRACUNIT) { frict = FRACUNIT; }
if (frict < 0) { frict = 0; }