Bot predict nudging scale is based on the prediction's radius

This commit is contained in:
Sally Coolatta 2021-12-18 16:31:08 -05:00
parent a6d1043d17
commit 436b6d50ea

View file

@ -619,7 +619,7 @@ void K_NudgePredictionTowardsObjects(botprediction_t *predict, player_t *player)
fixed_t avgX = 0, avgY = 0;
fixed_t avgDist = 0;
const fixed_t baseNudge = 128 * mapobjectscale;
const fixed_t baseNudge = predict->radius;
fixed_t maxNudge = distToPredict;
fixed_t nudgeDist = 0;
angle_t nudgeDir = 0;