Browse Source

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

pull/112/head
SanyaSho 2 years ago
parent
commit
387d15521a
  1. 2
      game/server/ai_behavior_assault.cpp

2
game/server/ai_behavior_assault.cpp

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

Loading…
Cancel
Save