fixing a few super small issues with usage of the & operator (#50780)

* fix some erroneous bit-band operations caused by operator precedence

* switch out & op for && op in medical mesh splitting
This commit is contained in:
William Wallace
2020-05-01 06:21:21 -03:00
committed by GitHub
parent 5ddb246642
commit ba5dd957df
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ Behavior that's still missing from this component that original food items had t
owner.reagents.add_reagent(rid, amount)
/datum/component/edible/proc/examine(datum/source, mob/user, list/examine_list)
if(!food_flags & FOOD_IN_CONTAINER)
if(!(food_flags & FOOD_IN_CONTAINER))
switch (bitecount)
if (0)
return