oni fuckup vol69

This commit is contained in:
Antonio Martinez 2025-06-21 23:55:28 -04:00
parent d4c8fac82d
commit 63b55c0abd
2 changed files with 4 additions and 4 deletions

View file

@ -836,10 +836,10 @@ fixed_t K_UpdateRubberband(player_t *player)
fixed_t ret = player->botvars.rubberband;
UINT8 ease_soften = 8;
UINT8 ease_soften = (ret > dest) ? 3 : 8;
if (player->botvars.bumpslow && dest > ret)
ease_soften *= 10;
ease_soften = 80;
// Ease into the new value.
ret += (dest - player->botvars.rubberband) / ease_soften;
@ -2146,7 +2146,7 @@ void K_UpdateBotGameplayVars(player_t *player)
UINT32 smo = BOTANGLESAMPLES - 1;
player->botvars.recentDeflection = (smo * player->botvars.recentDeflection / BOTANGLESAMPLES) + (dangle / BOTANGLESAMPLES);
player->botvars.lastAngle = mangle;
const botcontroller_t *botController = K_GetBotController(player->mo);

View file

@ -1207,7 +1207,7 @@ void P_ButteredSlope(mobj_t *mo)
thrust = FixedMul(thrust, abs(P_GetMobjGravity(mo)));
fixed_t basefriction = ORIG_FRICTION;
if (mo->player && false)
if (mo->player)
basefriction = K_PlayerBaseFriction(mo->player, ORIG_FRICTION);
if (mo->friction != basefriction && basefriction != 0)