Replace all secondary flags with bitflags stored in the flags_2 var
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
if(C.disabilities & DEAF)
|
||||
deaf = max(deaf, 1)
|
||||
else
|
||||
if(C.ears && HAS_SECONDARY_FLAG(C.ears, HEALS_EARS))
|
||||
if(C.ears && (C.ears.flags_2 & HEALS_EARS_2))
|
||||
deaf = max(deaf - 1, 1)
|
||||
ear_damage = max(ear_damage - 0.10, 0)
|
||||
// if higher than UNHEALING_EAR_DAMAGE, no natural healing occurs.
|
||||
|
||||
Reference in New Issue
Block a user