Skip to content

Commit

Permalink
Directional Lock no longer slows you (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
private-tristan authored Nov 5, 2023
1 parent 9974572 commit 3b503b7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion code/__DEFINES/pain.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions code/modules/mob/mob_movement.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3b503b7

Please sign in to comment.