(ecda2cb2a) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev

This commit is contained in:
Joonas Rikkonen
2019-04-02 12:41:32 +03:00
parent e86d86c41f
commit 5cf66d7343
5 changed files with 17 additions and 16 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;