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) {