Conflicts:
	Subsurface_Solution.v12.suo
This commit is contained in:
Regalis11
2015-06-22 17:00:17 +03:00
37 changed files with 1060 additions and 365 deletions

View File

@@ -148,8 +148,13 @@ namespace Subsurface
{
WayPoint spawnPoint = WayPoint.GetRandom(WayPoint.SpawnType.Human);
Character.Controlled = new Character("Content/Characters/Human/human.xml", (spawnPoint == null) ? Vector2.Zero : spawnPoint.SimPosition);
if (Game1.GameSession != null) Game1.GameSession.crewManager.AddCharacter(Character.Controlled);
if (Game1.GameSession != null) Game1.GameSession.crewManager.SelectCharacter(Character.Controlled);
if (Game1.GameSession != null)
{
SinglePlayerMode mode = Game1.GameSession.gameMode as SinglePlayerMode;
if (mode == null) break;
mode.crewManager.AddCharacter(Character.Controlled);
mode.crewManager.SelectCharacter(Character.Controlled);
}
}
else
{