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)
This commit is contained in:
@@ -987,7 +987,7 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
|
|
||||||
//if on stairs, make the dragged character "climb up" (= collide with stairs)
|
//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)
|
public void Grab(Vector2 rightHandPos, Vector2 leftHandPos)
|
||||||
|
|||||||
Reference in New Issue
Block a user