(43425b834) Added: Video looping, replaying, pre-video text

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:47:30 +02:00
parent cf49c179dc
commit 37f44b87fa
8 changed files with 285 additions and 101 deletions
@@ -210,6 +210,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>();