(24cde6cae) Add a static sight range. Considerably increase the hull sight ranges.

This commit is contained in:
Joonas Rikkonen
2019-03-29 17:25:58 +02:00
parent 57f8fe437b
commit a64096b5aa
4 changed files with 13 additions and 7 deletions
@@ -657,10 +657,9 @@ namespace Barotrauma.Tutorials
{
foreach (Gap gap in Gap.GapList)
{
if (gap.ConnectedWall == null || gap.IsRoomToRoom) continue;
if (gap.ConnectedWall == null) continue;
if (gap.ConnectedDoor != null || gap.Open <= 0.0f) continue;
if (gap.Submarine == null) continue;
if (gap.Submarine.IsOutpost) continue;
if (gap.Submarine != Submarine.MainSub) continue;
return true;
}