Added a few new console commands: disablehud, lockx & locky (disables submarine movement on the respective axis), followsub (toggles whether the camera moves with the subs)

This commit is contained in:
Regalis
2017-02-13 16:23:28 +02:00
parent 7f661ce362
commit 5871faa2dd
9 changed files with 41 additions and 6 deletions

View File

@@ -1382,7 +1382,7 @@ namespace Barotrauma
if (aiTarget != null) aiTarget.Draw(spriteBatch);
}
if (this == controlled) return;
if (this == controlled || GUI.DisableHUD) return;
Vector2 pos = DrawPosition;
pos.Y = -pos.Y;