Allow possibly taking cover without full APs

This commit is contained in:
Asdow
2023-10-02 22:28:56 +03:00
parent 88af94eaaf
commit 1586e8fd2b
+1 -1
View File
@@ -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) &&