Release 1.11.4.1 (Winter Update)

This commit is contained in:
Markus Isberg
2025-12-08 14:56:47 +00:00
parent 21e34e5cd8
commit 598966f200
121 changed files with 1614 additions and 819 deletions
@@ -216,6 +216,7 @@ namespace Barotrauma
{
UpdateTemporaryAnimations();
UpdateAnim(deltaTime);
CheckRopeState();
}
protected abstract void UpdateAnim(float deltaTime);
@@ -1134,6 +1135,25 @@ namespace Barotrauma
character.TeleportTo(pos);
}
protected void CheckRopeState()
{
if (!shouldHangWithRope)
{
StopHangingWithRope();
}
if (!shouldHoldToRope)
{
StopHoldingToRope();
}
if (!shouldBeDraggedWithRope)
{
StopGettingDraggedWithRope();
}
shouldHoldToRope = false;
shouldHangWithRope = false;
shouldBeDraggedWithRope = false;
}
private void StartAnimation(Animation animation)
{
if (animation == Animation.UsingItem)