(44ca39e16) Added: Escaping the video player via enter, multiple objective tracking & removing

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:46:58 +02:00
parent 474099732b
commit e65b688edd
8 changed files with 397 additions and 66 deletions
@@ -204,6 +204,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>();