Skip to content

Commit

Permalink
paranthesis
Browse files Browse the repository at this point in the history
  • Loading branch information
walt253 authored Nov 14, 2024
1 parent 7957c69 commit ecf90d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/creature_states.c
Original file line number Diff line number Diff line change
Expand Up @@ -4154,7 +4154,7 @@ TbBool creature_can_be_hostile(const struct Thing *fightng, const struct Thing *
return false;
}
// Creatures cannot be hostile towards allies if they are working.
if (get_creature_state_type(fightng) == CrStTyp_Work || get_creature_state_type(enmtng) == CrStTyp_Work)
if ((get_creature_state_type(fightng) == CrStTyp_Work) || (get_creature_state_type(enmtng) == CrStTyp_Work))
{
return false;
}
Expand Down

0 comments on commit ecf90d9

Please sign in to comment.