Moves BLOCKHAIR flags to flags_inv

Moves BLOCKHAIR and BLOCKHEADHAIR flags to flags_inv
This commit is contained in:
mwerezak
2015-08-18 17:06:50 -04:00
committed by HarpyEagle
parent b80c01ffbe
commit 70b74518a1
17 changed files with 66 additions and 69 deletions
+1 -1
View File
@@ -73,7 +73,7 @@ var/global/list/limb_icon_cache = list()
facial_s.Blend(rgb(owner.r_facial, owner.g_facial, owner.b_facial), ICON_ADD)
overlays |= facial_s
if(owner.h_style && !(owner.head && (owner.head.flags & BLOCKHEADHAIR)))
if(owner.h_style && !(owner.head && (owner.head.flags_inv & BLOCKHEADHAIR)))
var/datum/sprite_accessory/hair_style = hair_styles_list[owner.h_style]
if(hair_style && (species.name in hair_style.species_allowed))
var/icon/hair_s = new/icon("icon" = hair_style.icon, "icon_state" = "[hair_style.icon_state]_s")