remove ATAN2 define

This commit is contained in:
spookerton
2022-03-31 19:23:29 +01:00
parent b4c3fe9eeb
commit 2dda71ecf0
7 changed files with 7 additions and 10 deletions

View File

@@ -427,7 +427,7 @@
var/ox = round(screenviewX/2) - user.client.pixel_x //"origin" x
var/oy = round(screenviewY/2) - user.client.pixel_y //"origin" y
angle = ATAN2(y - oy, x - ox)
angle = arctan(y - oy, x - ox)
return list(angle, p_x, p_y)
/obj/item/projectile/proc/redirect(x, y, starting, source)