Skip to content

Commit

Permalink
game: fix typo in logical expression (ValveSoftware/source-sdk-2013#502)
Browse files Browse the repository at this point in the history
  • Loading branch information
SanyaSho committed Aug 16, 2022
1 parent bc5ff62 commit abb6994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/server/ai_behavior_assault.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1257,7 +1257,7 @@ int CAI_AssaultBehavior::TranslateSchedule( int scheduleType )
break;

case SCHED_HOLD_RALLY_POINT:
if( HasCondition(COND_NO_PRIMARY_AMMO) | HasCondition(COND_LOW_PRIMARY_AMMO) )
if( HasCondition(COND_NO_PRIMARY_AMMO) || HasCondition(COND_LOW_PRIMARY_AMMO) )
{
return SCHED_RELOAD;
}
Expand Down

0 comments on commit abb6994

Please sign in to comment.