From f37323e9a8af71e145af01d96606c722767fc25c Mon Sep 17 00:00:00 2001 From: Alex Noir Date: Tue, 5 Dec 2017 21:38:07 +0300 Subject: [PATCH] Fixed dragging thru stairs being annoying as hell (this line of code made it impossible to carry a body thru stairs on ground level without holding Down all the time) --- .../Source/Characters/Animation/HumanoidAnimController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaShared/Source/Characters/Animation/HumanoidAnimController.cs b/Barotrauma/BarotraumaShared/Source/Characters/Animation/HumanoidAnimController.cs index 243de5af4..ffcd85fe0 100644 --- a/Barotrauma/BarotraumaShared/Source/Characters/Animation/HumanoidAnimController.cs +++ b/Barotrauma/BarotraumaShared/Source/Characters/Animation/HumanoidAnimController.cs @@ -987,7 +987,7 @@ namespace Barotrauma } //if on stairs, make the dragged character "climb up" (= collide with stairs) - if (stairs != null) target.AnimController.TargetMovement = new Vector2 (target.AnimController.TargetMovement.X, 1.0f); + //if (stairs != null) target.AnimController.TargetMovement = new Vector2 (target.AnimController.TargetMovement.X, 1.0f); } public void Grab(Vector2 rightHandPos, Vector2 leftHandPos)