mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Reduce object distance by its radius
Just gives bot hint size a purpose again, even if it's minor.
This commit is contained in:
parent
03c13052e8
commit
cb655f863c
1 changed files with 1 additions and 1 deletions
|
|
@ -552,7 +552,7 @@ static boolean K_FindObjectsForNudging(mobj_t *thing)
|
||||||
return true;
|
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)
|
if (fulldist > globalsmuggle.distancetocheck)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue