(bce1100e8) ClientCode.projitems update

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:45:45 +02:00
parent ff4ecd15b3
commit 556d86ed4f
8 changed files with 51 additions and 34 deletions
@@ -189,6 +189,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>();