Fixed server end cinematic, bugfix in submarine position syncing, CharacterIgnoreDistance bugfix, readded crew button to multiplayer, searching a path out of the sub

This commit is contained in:
Regalis
2016-01-06 20:17:41 +02:00
parent ca7febfcab
commit 48eabedb77
17 changed files with 156 additions and 57 deletions
+5 -6
View File
@@ -170,15 +170,14 @@ namespace Barotrauma
InsertToList();
}
public override void OnMapLoaded()
public static void GenerateEntityGrid()
{
if (entityGrid == null)
entityGrid = new EntityGrid(Submarine.Borders, 200.0f);
foreach (Hull hull in hullList)
{
entityGrid = new EntityGrid(Submarine.Borders, 200.0f);
entityGrid.InsertEntity(hull);
}
entityGrid.InsertEntity(this);
}
public override bool Contains(Vector2 position)