mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +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
|
// POSSIBLY FORGET THE ATTACK AND TAKE COVER
|
||||||
////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////
|
||||||
if ( (pSoldier->bActionPoints == pSoldier->bInitialActionPoints) &&
|
if ( //(pSoldier->bActionPoints == pSoldier->bInitialActionPoints) &&
|
||||||
(ubBestAttackAction == AI_ACTION_FIRE_GUN) &&
|
(ubBestAttackAction == AI_ACTION_FIRE_GUN) &&
|
||||||
(pSoldier->aiData.bShock == 0) &&
|
(pSoldier->aiData.bShock == 0) &&
|
||||||
(pSoldier->stats.bLife >= pSoldier->stats.bLifeMax / 2) &&
|
(pSoldier->stats.bLife >= pSoldier->stats.bLifeMax / 2) &&
|
||||||
|
|||||||
Reference in New Issue
Block a user