(351e4f8b8) Added: hiding of objectives via button

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:48:42 +02:00
parent a90ce22107
commit 68aa95a5df
10 changed files with 287 additions and 44 deletions
@@ -225,6 +225,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>();