From 387d15521ae7a0b6b9b9f7bed03ef467428d0e29 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 e02627cc..d57ec618 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; }