Prefixed all disability defines with DISABILITY_ to fix a name collision

This commit is contained in:
Jordan Brown
2017-12-24 11:45:45 -05:00
committed by CitadelStationBot
parent 2378235f51
commit 164db7ae9b
83 changed files with 957 additions and 9 deletions
+8
View File
@@ -25,7 +25,11 @@
return
var/mob/living/carbon/C = owner
// genetic deafness prevents the body from using the ears, even if healthy
<<<<<<< HEAD
if(C.disabilities & DEAF)
=======
if(C.has_disability(DISABILITY_DEAF))
>>>>>>> bc20a75... Merge pull request #33783 from Cruix/fix_blind
deaf = max(deaf, 1)
else
if(C.ears && (C.ears.flags_2 & HEALS_EARS_2))
@@ -42,7 +46,11 @@
var/mob/living/carbon/C = owner
<<<<<<< HEAD
if(iscarbon(owner) && C.disabilities & DEAF)
=======
if(iscarbon(owner) && C.has_disability(DISABILITY_DEAF))
>>>>>>> bc20a75... Merge pull request #33783 from Cruix/fix_blind
deaf = 1
/obj/item/organ/ears/proc/adjustEarDamage(ddmg, ddeaf)