Fixed solars not tracking. Made pAI recruits unable to manually close window.

This commit is contained in:
Ren Erthilo
2012-03-24 20:51:11 +00:00
parent 7eae871ece
commit 4996811a1c
2 changed files with 3 additions and 3 deletions

View File

@@ -16,7 +16,8 @@
// called by datum/sun/calc_position() as sun's angle changes
proc/set_angle(angle)
proc/set_angle(var/angle)
sun_angle = angle
//set icon dir to show sun illumination
dir = turn(NORTH, -angle - 22.5) // 22.5 deg bias ensures, e.g. 67.5-112.5 is EAST