You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Bounds check. Stupid juggling because LHS is a range, we want the midpoint.
906
+
constauto LHS_range = LHS_vitmap.find( vit );
917
907
constbool LHS_has_vit = LHS_vitmap.find( vit ) != LHS_vitmap.end();
918
908
constbool RHS_has_vit = RHS_vitmap.find( vit ) != RHS_vitmap.end();
919
-
if( LHS_has_vit != RHS_has_vit ) {
920
-
debugmsg( "Error in item definition %s. Food vitamins and consume_drug vitamins do not match.",
921
-
obj.id.c_str() );
922
-
break; // stop evaluating this itype, it's already known to be broken.
923
-
}
924
-
// Bounds check. Stupid juggling because LHS is a range, we want the midpoint. If LHS doesn't have the vitamin we can skip the rest, because we just checked that
0 commit comments