From cb655f863cdebf7d08492711ce2225cbc3aae2d4 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Fri, 26 Feb 2021 22:43:10 -0500 Subject: [PATCH] Reduce object distance by its radius Just gives bot hint size a purpose again, even if it's minor. --- src/k_botsearch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_botsearch.c b/src/k_botsearch.c index ae84dac4b..880eb5ef9 100644 --- a/src/k_botsearch.c +++ b/src/k_botsearch.c @@ -552,7 +552,7 @@ static boolean K_FindObjectsForNudging(mobj_t *thing) return true; } - fulldist = R_PointToDist2(globalsmuggle.botmo->x, globalsmuggle.botmo->y, thing->x, thing->y); + fulldist = R_PointToDist2(globalsmuggle.botmo->x, globalsmuggle.botmo->y, thing->x, thing->y) - thing->radius; if (fulldist > globalsmuggle.distancetocheck) {