Skip to content

Commit

Permalink
Wheelchair broken hand move delay standardazation (#6720)
Browse files Browse the repository at this point in the history
# About the pull request

having right hand broken added more slowdown to wheelchair then left
one, gets both the same

# Explain why it's good for the game

oversight fix


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: having left hand broken and not splinted has the same effect on
wheelchair movement speed as right hand
/:cl:

---------

Co-authored-by: vincibrv <[email protected]>
  • Loading branch information
cuberound and uuuuhuuuu authored Jul 18, 2024
1 parent 7afdf89 commit 0f92deb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@
move_delay += 4 //harder to move a wheelchair with a single hand
working_hands--
else if((left_hand.status & LIMB_BROKEN) && !(left_hand.status & LIMB_SPLINTED))
move_delay++
move_delay ++
if(!right_hand || (right_hand.status & LIMB_DESTROYED))
move_delay += 4
working_hands--
else if((right_hand.status & LIMB_BROKEN) && !(right_hand.status & LIMB_SPLINTED))
move_delay += 2
move_delay++
if(!working_hands)
return // No hands to drive your chair? Tough luck!
if(driver.pulling && driver.pulling.drag_delay && driver.get_pull_miltiplier()) //Dragging stuff can slow you down a bit.
Expand Down

0 comments on commit 0f92deb

Please sign in to comment.