(96ccafd88) Fix the goto objective not always completing because of too high NearEnough value.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:11:17 +03:00
parent 9a1e7f8212
commit 759e4aee0d
12 changed files with 133 additions and 60 deletions
@@ -162,6 +162,21 @@ namespace Barotrauma
get { return binding; }
}
public void SetState()
{
hit = binding.IsHit();
if (hit) hitQueue = true;
held = binding.IsDown();
if (held) heldQueue = true;
}
#endif
public KeyOrMouse State
{
get { return binding; }
}
public void SetState()
{
hit = binding.IsHit();