snailer
This commit is contained in:
parent
317c107064
commit
916cacb38f
|
@ -1834,7 +1834,7 @@ void A_SnailerThink(mobj_t *actor)
|
||||||
fixed_t dist;
|
fixed_t dist;
|
||||||
fixed_t dx, dy;
|
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
|
if (an > ANGLE_45 && an <= ANGLE_90) // fire at 45 degrees to the left
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue