(683847e26) Test: disable camera movement completely when an item interface is open (not just when the cursor is on the interface)

This commit is contained in:
Joonas Rikkonen
2019-04-02 12:41:04 +03:00
parent 6de0fa4b73
commit 7d8b489319
3 changed files with 15 additions and 14 deletions
@@ -1147,7 +1147,7 @@ namespace Barotrauma
{
//Limb head = AnimController.GetLimb(LimbType.Head);
// Values lower than this seem to cause constantious flipping when the mouse is near the player and the player is running, because the root collider moves after flipping.
float followMargin = 30;
float followMargin = 40;
if (dontFollowCursor)
{
AnimController.TargetDir = Direction.Right;