const radreduce, removed unused "dir" property

This commit is contained in:
Sally Coolatta 2020-05-24 16:16:01 -04:00
parent 597baf212b
commit 5d77807a78
2 changed files with 1 additions and 2 deletions

View file

@ -396,7 +396,7 @@ static botprediction_t *K_CreateBotPrediction(player_t *player)
const INT16 normal = KART_FULLTURN; // "Standard" handling to compare to
const fixed_t distreduce = K_BotReducePrediction(player);
fixed_t radreduce = min(distreduce + FRACUNIT/4, FRACUNIT);
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 = P_AproxDistance(player->mo->momx, player->mo->momy);

View file

@ -26,7 +26,6 @@
typedef struct botprediction_s {
fixed_t x, y;
fixed_t radius;
angle_t dir;
} botprediction_t;