mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
Allow possibly taking cover without full APs
This commit is contained in:
@@ -6273,7 +6273,7 @@ INT8 DecideActionBlack(SOLDIERTYPE *pSoldier)
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
// POSSIBLY FORGET THE ATTACK AND TAKE COVER
|
||||
////////////////////////////////////////////////////////////////////////////
|
||||
if ( (pSoldier->bActionPoints == pSoldier->bInitialActionPoints) &&
|
||||
if ( //(pSoldier->bActionPoints == pSoldier->bInitialActionPoints) &&
|
||||
(ubBestAttackAction == AI_ACTION_FIRE_GUN) &&
|
||||
(pSoldier->aiData.bShock == 0) &&
|
||||
(pSoldier->stats.bLife >= pSoldier->stats.bLifeMax / 2) &&
|
||||
|
||||
Reference in New Issue
Block a user