(771621c77) Added: Delays for medical & flooding tutorials, resetting of injuredmember when starting again

This commit is contained in:
Joonas Rikkonen
2019-03-27 20:51:33 +02:00
parent 723df67f6f
commit 5a620ec60d
8 changed files with 280 additions and 26 deletions
@@ -261,6 +261,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>();