(f8525130a) Added: Objective tracking, UI changes.

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:46:44 +02:00
parent a939cdef91
commit 474099732b
10 changed files with 322 additions and 56 deletions
@@ -201,6 +201,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>();