game: fix typo in logical expression (ValveSoftware/source-sdk-2013#502)

This commit is contained in:
SanyaSho 2022-08-16 17:24:18 +03:00
parent a0d8a59d58
commit 387d15521a

View File

@ -1257,7 +1257,7 @@ int CAI_AssaultBehavior::TranslateSchedule( int scheduleType )
break; break;
case SCHED_HOLD_RALLY_POINT: 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; return SCHED_RELOAD;
} }