(e326112f5) Increased discharge coil sound range and added camera shake to make it more noticeable when it's used

This commit is contained in:
Joonas Rikkonen
2019-04-06 17:49:18 +03:00
parent ea463acc60
commit 45c1ed499a
18 changed files with 190 additions and 357 deletions
@@ -168,14 +168,13 @@ namespace Barotrauma
}
}
public Hull FindBestHull(IEnumerable<Hull> ignoredHulls = null)
public Hull FindBestHull()
{
Hull bestHull = null;
float bestValue = 0;
Hull bestHull = character.CurrentHull;
float bestValue = currenthullSafety;
foreach (Hull hull in Hull.hullList)
{
if (hull.Submarine == null) { continue; }
if (ignoredHulls != null && ignoredHulls.Contains(hull)) { continue; }
float hullSafety = 0;
if (character.Submarine != null && SteeringManager == PathSteering)
{