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

@@ -49,7 +49,7 @@
continue
if(!O.scannable)
continue
var/bearing = round(90 - ATAN2(O.x - linked.x, O.y - linked.y),5)
var/bearing = round(90 - arctan(O.x - linked.x, O.y - linked.y),5)
if(bearing < 0)
bearing += 360
contacts.Add(list(list("name"=O.name, "ref"="\ref[O]", "bearing"=bearing)))