tgstation/-tg-station — pull request #77 by Giacomand (2013-03-19 21:43:37+00:00)
Title: Solar Fixes

* Fixes solars spinning around, being unable to follow the sun.
The angle2dir was changed to filter out extra rotations/negative rotations but the solars already did this, which then screwed up the solars sense of direction. I added an argument to angle2dir to optionally filter out the rotations and then changed the uses of angle2dir which depended on this to activate the filtering.
* Fixed the Solar Tracker not showing it's overlay when in auto mode. Many people haven't seen it, well I haven't, but it is this thing. http://i.imgur.com/s1FgHSO.png
* Added some useful comments.

Sorry about the commit log, I forgot my branch was updated to another branch with different changes. I reverted everything I didn't mention in here.