Makes shuttle rotate Re-Smooth's atoms if need be.

This commit is contained in:
MrStonedOne
2015-07-20 12:08:30 -07:00
parent 7f58d930bb
commit 9108dbba42
+6 -1
View File
@@ -270,9 +270,14 @@
//default shuttleRotate
/atom/proc/shuttleRotate(rotation)
//rotate our direction
dir = angle2dir(rotation+dir2angle(dir))
//we need to rotate the pixel offsets too.
//resmooth if need be.
if(A.smooth)
smooth_icon(A)
//rotate the pixel offsets too.
if (pixel_x || pixel_y)
if (rotation < 0)
rotation += 360