(edf82e6ca) Modified: VideoPlayer video position, medical objective completion, saving segment when objective is completed

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:50:50 +02:00
parent 91e87e8b74
commit 8b5e18c348
10 changed files with 247 additions and 37 deletions
@@ -252,6 +252,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>();