From 3b503b71ae26a94a6b3fc8b7743f7f66338b907d Mon Sep 17 00:00:00 2001 From: private-tristan <54422837+private-tristan@users.noreply.github.com> Date: Sun, 5 Nov 2023 11:29:55 -0500 Subject: [PATCH] Directional Lock no longer slows you (#45) --- code/__DEFINES/pain.dm | 1 - code/modules/mob/mob_movement.dm | 2 -- 2 files changed, 3 deletions(-) diff --git a/code/__DEFINES/pain.dm b/code/__DEFINES/pain.dm index 9fe1d8d692..8c84dd1070 100644 --- a/code/__DEFINES/pain.dm +++ b/code/__DEFINES/pain.dm @@ -3,7 +3,6 @@ // How slow we go from losing a limb #define MOVE_REDUCTION_LIMB_DESTROYED 4 #define MOVE_REDUCTION_LIMB_BROKEN 1.5 -#define MOVE_REDUCTION_DIRECTION_LOCKED 1 #define MOVE_REDUCTION_LIMB_SPLINTED 0.5 // Traumatic shock reduction for different reagents diff --git a/code/modules/mob/mob_movement.dm b/code/modules/mob/mob_movement.dm index 64253fbac5..6ccb9644d6 100644 --- a/code/modules/mob/mob_movement.dm +++ b/code/modules/mob/mob_movement.dm @@ -165,8 +165,6 @@ if(mob.next_move_slowdown) move_delay += mob.next_move_slowdown mob.next_move_slowdown = 0 - if((mob.flags_atom & DIRLOCK) && mob.dir != direct) - move_delay += MOVE_REDUCTION_DIRECTION_LOCKED // by Geeves mob.cur_speed = Clamp(10/(move_delay + 0.5), MIN_SPEED, MAX_SPEED) //We are now going to move