mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
snailer
This commit is contained in:
parent
59f7b40497
commit
3c041d7304
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…
Add table
Reference in a new issue