(f832e24f5) Prevent bots jumping from too high.

This commit is contained in:
Joonas Rikkonen
2019-04-08 19:17:20 +03:00
parent 9a829206af
commit eb6e919c66
3 changed files with 15 additions and 5 deletions
@@ -145,6 +145,16 @@ namespace Barotrauma
}
#endif
public void SetState()
{
hit = binding.IsHit();
if (hit) hitQueue = true;
held = binding.IsDown();
if (held) heldQueue = true;
}
#endif
public bool Hit
{
get