Updates a missed check and updates parentheses on uniforms/suits hiding shoes (#1540)

This commit is contained in:
Yoshax
2016-05-03 22:19:25 +01:00
committed by EmperorJon
parent 5ae20ceb8b
commit 0a20abb6ec
2 changed files with 2 additions and 2 deletions

View File

@@ -267,7 +267,7 @@ This saves us from having to call add_fingerprint() any time something is put in
update_inv_shoes(redraw_mob)
if(slot_wear_suit)
src.wear_suit = W
if(wear_suit.flags_inv & HIDESHOES)
if((wear_suit.flags_inv & HIDESHOES) || (w_uniform.flags_inv & HIDESHOES))
update_inv_shoes(0)
W.equipped(src, slot)
update_inv_wear_suit(redraw_mob)

View File

@@ -605,7 +605,7 @@ var/global/list/damage_icon_parts = list()
if(update_icons) update_icons()
/mob/living/carbon/human/update_inv_shoes(var/update_icons=1)
if(shoes && !(wear_suit && wear_suit.flags_inv & HIDESHOES) && !(w_uniform && w_uniform.flags_inv & HIDESHOES))
if(shoes && !((wear_suit && wear_suit.flags_inv & HIDESHOES) || (w_uniform && w_uniform.flags_inv & HIDESHOES)))
var/image/standing
if(shoes.icon_override)