(fdf8cfbbe) Merge branch 'dev' of https://github.com/Regalis11/Barotrauma-development into dev

This commit is contained in:
Joonas Rikkonen
2019-04-11 18:27:41 +03:00
parent a3342ca96d
commit 2f86991ce5
2 changed files with 1 additions and 8 deletions
@@ -795,7 +795,7 @@ namespace Barotrauma
{ {
if (!ic.CanBeSelected) { continue; } if (!ic.CanBeSelected) { continue; }
bool useAlternativeLayout = ic.Item != this; bool useAlternativeLayout = activeHUDs.Count > 1;
bool wasUsingAlternativeLayout = ic.UseAlternativeLayout; bool wasUsingAlternativeLayout = ic.UseAlternativeLayout;
ic.UseAlternativeLayout = useAlternativeLayout; ic.UseAlternativeLayout = useAlternativeLayout;
needsLayoutUpdate |= ic.UseAlternativeLayout != wasUsingAlternativeLayout; needsLayoutUpdate |= ic.UseAlternativeLayout != wasUsingAlternativeLayout;
@@ -58,13 +58,6 @@ namespace Barotrauma.Items.Components
set; set;
} }
[Serialize(true, true)]
public bool Aimable
{
get;
set;
}
[Serialize(false, false)] [Serialize(false, false)]
public bool ControlPose public bool ControlPose
{ {