(ee2d498e3) Fix bots ignoring doors when shooting.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:24:28 +03:00
parent 4c53a56b20
commit e284e1039a
9 changed files with 136 additions and 217 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();