ItemComponent HUD isn't drawn for ItemComponents that can't be selected

This commit is contained in:
Regalis
2016-12-01 16:11:29 +02:00
parent a2442bfcb8
commit bf88e2b8de
7 changed files with 12 additions and 15 deletions
@@ -45,7 +45,7 @@
<Item name="Steel Bar"/>
</Deconstruct>
<Sprite texture="railgunetc.png" sourcerect="114,210,68,47" depth ="0.5"/>
<Sprite texture="railgunetc.png" sourcerect="114,210,68,47" depth ="0.55"/>
<Body width="68" height="47" density="30"/>
@@ -91,7 +91,7 @@
<requireditem name="Wrench" type="Equipped"/>
</Holdable>
<ItemContainer capacity="1" itempos="0,0" hideitems="false">
<ItemContainer canbeselected="true" capacity="1" itempos="0,0" hideitems="false">
<Containable name="explosive"/>
</ItemContainer>
+2 -2
View File
@@ -74,7 +74,7 @@
<Item name="Polycarbonate Bar"/>
</Deconstruct>
<Sprite texture="weapons.png" sourcerect="0,58,88,20" depth ="0.5"/>
<Sprite texture="weapons.png" sourcerect="0,58,88,20" depth ="0.55"/>
<Body width="87" height="18" density="30"/>
@@ -106,7 +106,7 @@
<Item name="Polycarbonate Bar"/>
</Deconstruct>
<Sprite texture="weapons.png" sourcerect="0,77,88,20" depth ="0.5"/>
<Sprite texture="weapons.png" sourcerect="0,77,88,20" depth ="0.55"/>
<Body width="87" height="18" density="35"/>