(2f379083c) Change how some of the priorities are clamped.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:06:30 +03:00
parent b5db30ec72
commit b7272e1c96
18 changed files with 165 additions and 42 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();