mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Reel the prediction back when it hits wall
This commit is contained in:
parent
bd337d1494
commit
ad02fbcf32
1 changed files with 1 additions and 1 deletions
|
|
@ -710,7 +710,7 @@ static botprediction_t *K_CreateBotPrediction(player_t *player)
|
||||||
if (P_TraceBotTraversal(player->mo, wp->mobj) == false)
|
if (P_TraceBotTraversal(player->mo, wp->mobj) == false)
|
||||||
{
|
{
|
||||||
// If we can't get a direct path to this waypoint, predict less.
|
// If we can't get a direct path to this waypoint, predict less.
|
||||||
distanceleft -= disttonext;
|
distanceleft /= 2;
|
||||||
radreduce = FRACUNIT >> 1;
|
radreduce = FRACUNIT >> 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue