Reel the prediction back when it hits wall

This commit is contained in:
Sally Coolatta 2022-11-26 19:02:07 -05:00
parent bd337d1494
commit ad02fbcf32

View file

@ -710,7 +710,7 @@ static botprediction_t *K_CreateBotPrediction(player_t *player)
if (P_TraceBotTraversal(player->mo, wp->mobj) == false)
{
// If we can't get a direct path to this waypoint, predict less.
distanceleft -= disttonext;
distanceleft /= 2;
radreduce = FRACUNIT >> 1;
}