mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-31 13:40:45 +00:00
snailer
This commit is contained in:
parent
317c107064
commit
916cacb38f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue