mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2025-12-26 01:52:15 +00:00
Genericises rotate() on objects. (#8430)
This commit is contained in:
@@ -97,7 +97,7 @@
|
||||
adjust_speed(0, -get_acceleration())
|
||||
|
||||
|
||||
/obj/effect/map/ship/proc/rotate(var/direction)
|
||||
/obj/effect/map/ship/proc/rotate_ship(var/direction)
|
||||
var/matrix/M = matrix()
|
||||
M.Turn(dir2angle(direction))
|
||||
src.transform = M //Rotate ship
|
||||
@@ -113,4 +113,4 @@
|
||||
if(newloc)
|
||||
Move(newloc)
|
||||
if(rotate)
|
||||
rotate(get_heading())
|
||||
rotate_ship(get_heading())
|
||||
|
||||
Reference in New Issue
Block a user