(6840c9114) Set the objective frame to be drawn behind other gui elements. TODO: test and complain if doesn't work ;)

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:49:53 +02:00
parent 5c324a6de9
commit 69852a141e
8 changed files with 227 additions and 6 deletions
@@ -240,6 +240,9 @@ namespace Barotrauma
Hull hull = Hull.FindHull(ConvertUnits.ToDisplayUnits(explosionPos), null, false);
bool underWater = hull == null || explosionPos.Y < hull.Surface;
Hull hull = Hull.FindHull(ConvertUnits.ToDisplayUnits(explosionPos), null, false);
bool underWater = hull == null || explosionPos.Y < hull.Surface;
explosionPos = ConvertUnits.ToSimUnits(explosionPos);
Dictionary<Limb, float> distFactors = new Dictionary<Limb, float>();