(ef6d724ea) Fixed: Invalid pathname when triggering a video for the first time

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:48:13 +02:00
parent 7140151882
commit 27efec90c9
7 changed files with 223 additions and 12 deletions
@@ -219,6 +219,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>();