Pull the prediction a lot more forward by default

This commit is contained in:
Sally Coolatta 2021-11-28 14:37:21 -05:00
parent dca887e23e
commit c7caf7ab44

View file

@ -571,7 +571,7 @@ static botprediction_t *K_CreateBotPrediction(player_t *player)
const fixed_t radreduce = min(distreduce + FRACUNIT/4, FRACUNIT);
const tic_t futuresight = (TICRATE * normal) / max(1, handling); // How far ahead into the future to try and predict
const fixed_t speed = max(P_AproxDistance(player->mo->momx, player->mo->momy), K_GetKartSpeed(player, false) / 4);
const fixed_t speed = max(P_AproxDistance(player->rmomx, player->rmomy), K_GetKartSpeed(player, false));
const INT32 startDist = (768 * mapobjectscale) / FRACUNIT;
const INT32 distance = ((FixedMul(speed, distreduce) / FRACUNIT) * futuresight) + startDist;