mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-25 06:51:09 +00:00
const radreduce, removed unused "dir" property
This commit is contained in:
parent
597baf212b
commit
5d77807a78
2 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@
|
|||
typedef struct botprediction_s {
|
||||
fixed_t x, y;
|
||||
fixed_t radius;
|
||||
angle_t dir;
|
||||
} botprediction_t;
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue