Reduce object distance by its radius

Just gives bot hint size a purpose again, even if it's minor.
This commit is contained in:
Sally Coolatta 2021-02-26 22:43:10 -05:00
parent 03c13052e8
commit cb655f863c

View file

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