From 63b55c0abd794db5b14b5182f896307401354574 Mon Sep 17 00:00:00 2001 From: Antonio Martinez Date: Sat, 21 Jun 2025 23:55:28 -0400 Subject: [PATCH] oni fuckup vol69 --- src/k_bot.cpp | 6 +++--- src/p_slopes.c | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/k_bot.cpp b/src/k_bot.cpp index d1f64f150..3caab89e7 100644 --- a/src/k_bot.cpp +++ b/src/k_bot.cpp @@ -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); diff --git a/src/p_slopes.c b/src/p_slopes.c index aca454f3a..a64ebfaa0 100644 --- a/src/p_slopes.c +++ b/src/p_slopes.c @@ -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)