From abb6994bc802f3778a6dc6772dda62b2c02ebc8d Mon Sep 17 00:00:00 2001 From: SanyaSho Date: Tue, 16 Aug 2022 17:24:18 +0300 Subject: [PATCH] game: fix typo in logical expression (ValveSoftware/source-sdk-2013#502) --- game/server/ai_behavior_assault.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/server/ai_behavior_assault.cpp b/game/server/ai_behavior_assault.cpp index e02627cc60..d57ec618f2 100644 --- a/game/server/ai_behavior_assault.cpp +++ b/game/server/ai_behavior_assault.cpp @@ -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; }