(e695ea73c) Changes to draw order logic. Fixes background lights bleeding through background walls that can only be resized on one axis.

This commit is contained in:
Joonas Rikkonen
2019-05-03 13:50:14 +03:00
parent dedc9b5083
commit 5d9c61598b
6 changed files with 130 additions and 241 deletions
@@ -163,6 +163,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();