From a009da5d7a90e6ef001b143ac9f80bf64fffbc0d Mon Sep 17 00:00:00 2001 From: Tad Hardesty Date: Sat, 26 May 2018 04:28:44 -0700 Subject: [PATCH] Allow into space diagonally (#38066) --- code/game/atoms_movable.dm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/code/game/atoms_movable.dm b/code/game/atoms_movable.dm index c64951ca7c..eac5a1768d 100644 --- a/code/game/atoms_movable.dm +++ b/code/game/atoms_movable.dm @@ -199,8 +199,12 @@ first_step_dir = WEST moving_diagonally = SECOND_DIAG_STEP . = step(src, SOUTH) - if(!. && moving_diagonally == SECOND_DIAG_STEP) - setDir(first_step_dir) + if(moving_diagonally == SECOND_DIAG_STEP) + if(!.) + setDir(first_step_dir) + else if (!inertia_moving) + inertia_next_move = world.time + inertia_move_delay + newtonian_move(direct) moving_diagonally = 0 return