mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Remove extraneous check
Allow at least considering throwing smoke for cover even if pSoldier has used some AP from its initial amount.
This commit is contained in:
@@ -6187,7 +6187,6 @@ INT8 DecideActionBlack(SOLDIERTYPE *pSoldier)
|
||||
// check path to closest disturbance
|
||||
if (gfTurnBasedAI &&
|
||||
pSoldier->bActionPoints >= APBPConstants[AP_MINIMUM] &&
|
||||
pSoldier->bActionPoints == pSoldier->bInitialActionPoints &&
|
||||
!TileIsOutOfBounds(sClosestDisturbance) &&
|
||||
RangeChangeDesire(pSoldier) > 3 &&
|
||||
!AICheckIsSniper(pSoldier) &&
|
||||
|
||||
Reference in New Issue
Block a user