Progress (compiles now)

This commit is contained in:
Regalis
2016-06-09 22:15:50 +03:00
parent c9fd599276
commit 7349cdd310
22 changed files with 237 additions and 240 deletions
+6 -6
View File
@@ -31,7 +31,7 @@ namespace Barotrauma
public static readonly Vector2 GridSize = new Vector2(16.0f, 16.0f);
public static Submarine MainSub;
private static List<Submarine> loaded;
private static List<Submarine> loaded = new List<Submarine>();
private SubmarineBody subBody;
@@ -97,10 +97,10 @@ namespace Barotrauma
}
}
//public static List<Submarine> Loaded
//{
// get { return loaded; }
//}
public static List<Submarine> Loaded
{
get { return loaded; }
}
public Rectangle Borders
{
@@ -789,7 +789,7 @@ namespace Barotrauma
loaded.Add(this);
Hull.GenerateEntityGrid();
Hull.GenerateEntityGrid(this);
for (int i = 0; i < MapEntity.mapEntityList.Count; i++)
{