mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 14:08:31 +01:00
Makes shuttle rotate Re-Smooth's atoms if need be.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user