This commit is contained in:
Zippy_Zolton 2020-12-10 19:01:09 -06:00
parent 317c107064
commit 916cacb38f
1 changed files with 1 additions and 1 deletions

View File

@ -1834,7 +1834,7 @@ void A_SnailerThink(mobj_t *actor)
fixed_t dist;
fixed_t dx, dy;
dist = P_AproxDistance(actor->x - actor->target->x, actor->y - actor->target->y);
dist = R_PointToDist2(0, 0, actor->x - actor->target->x, actor->y - actor->target->y);
if (an > ANGLE_45 && an <= ANGLE_90) // fire at 45 degrees to the left
{