- Crewcommander close button & info text notifying about the hotkey

- Doors can only be selected when they are broken
- Fixed crashing when placing a door while no sub is loaded
- Generating waypoints for an empty sub won't crash the game
- Drawing characterHUD in editor
This commit is contained in:
Regalis11
2016-01-24 17:03:25 +02:00
parent 7098a9a5e0
commit 28af6fa1f4
6 changed files with 36 additions and 9 deletions

View File

@@ -467,8 +467,6 @@ namespace Barotrauma
GUIpanel.Draw(spriteBatch);
if (selectedTab > -1) GUItabs[selectedTab].Draw(spriteBatch);
//EntityPrefab.DrawList(spriteBatch, new Vector2(20,50));
if (characterMode)
@@ -497,12 +495,15 @@ namespace Barotrauma
dummyCharacter.SelectedConstruction = null;
}
}
}
dummyCharacter.DrawHUD(spriteBatch, cam);
}
else
{
if (selectedTab > -1) GUItabs[selectedTab].Draw(spriteBatch);
MapEntity.Edit(spriteBatch, cam);
}