Compilation fixes.

This commit is contained in:
PsiOmegaDelta
2015-10-27 13:43:30 +01:00
parent 5ab090c22b
commit 3dcd35508f
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ sudo: false
env:
BYOND_MAJOR="508"
BYOND_MINOR="1293"
MACRO_COUNT=1133
MACRO_COUNT=1129
cache:
directories:

View File

@@ -285,10 +285,10 @@
for(var/obj/item/I in protection)
if(I)
if(I.flags & MASKCOVERSEYES)
if(I.body_parts_covered & EYES)
eyes_covered = 1
eye_protection = I.name
if(I.flags & MASKCOVERSMOUTH)
if((I.body_parts_covered & FACE) && !(I.item_flags & FLEXIBLEMATERIAL))
mouth_covered = 1
face_protection = I.name