diff --git a/code/game/objects/items/weapons/medical.dm b/code/game/objects/items/weapons/medical.dm index d99361af6cd..e827156a11c 100644 --- a/code/game/objects/items/weapons/medical.dm +++ b/code/game/objects/items/weapons/medical.dm @@ -51,7 +51,7 @@ MEDICAL if(!((affecting.name == "l_arm") || (affecting.name == "r_arm") || (affecting.name == "l_leg") || (affecting.name == "r_leg"))) user << "\red You can't apply a splint there!" return - if(!affecting.status & BROKEN) + if(!(affecting.status & BROKEN)) user << "\red [M]'s [limb] isn't broken!" return if(affecting.status & SPLINTED) diff --git a/code/modules/mob/living/carbon/human/life.dm b/code/modules/mob/living/carbon/human/life.dm index 0965b94df92..1821b5af28a 100644 --- a/code/modules/mob/living/carbon/human/life.dm +++ b/code/modules/mob/living/carbon/human/life.dm @@ -947,7 +947,7 @@ emote("scream") else if(E.name == "l_leg" || E.name == "l_foot" \ || E.name == "r_leg" || E.name == "r_foot" && !lying) - if(!E.status & SPLINTED) + if(!(E.status & SPLINTED)) leg_tally-- // let it fail even if just foot&leg // can't stand if(leg_tally == 0 && !paralysis && !(lying || resting)) diff --git a/code/modules/mob/living/carbon/monkey/life.dm b/code/modules/mob/living/carbon/monkey/life.dm index b04101a9d40..0ec606a603e 100644 --- a/code/modules/mob/living/carbon/monkey/life.dm +++ b/code/modules/mob/living/carbon/monkey/life.dm @@ -450,7 +450,7 @@ emote("scream") else if(E.name == "l_leg" || E.name == "l_foot" \ || E.name == "r_leg" || E.name == "r_foot" && !lying) - if(!E.status & SPLINTED) + if(!(E.status & SPLINTED)) leg_tally-- // let it fail even if just foot&leg // can't stand diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index 57a886a0d94..62685d111f6 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -687,7 +687,7 @@ if(H.health - H.halloss <= config.health_threshold_crit) for(var/name in H.organs) var/datum/organ/external/e = H.organs[name] - if((H.lying) && ((e.status & BROKEN && !e.status & SPLINTED) || e.status & BLEEDING) && (H.getBruteLoss() + H.getFireLoss() >= 100)) + if((H.lying) && ((e.status & BROKEN && !(e.status & SPLINTED)) || e.status & BLEEDING) && (H.getBruteLoss() + H.getFireLoss() >= 100)) return 1 break return 0