Disable canceling AI actions for escorted mercs

Logging AI decisions shows that this conditional would constantly cancel AI actions during regular gameplay. A special case like this should not affect normal AI routines and I'd rather disable this for now to prevent it from masking other problems with AI decisions.
This commit is contained in:
Asdow
2023-08-17 19:41:08 +03:00
parent d99b12cb5f
commit e502727828
+4
View File
@@ -651,6 +651,9 @@ void HandleSoldierAI( SOLDIERTYPE *pSoldier ) // FIXME - this function is named
{
// traversing offmap, ignore new situations
}
// FIXME: Disabled temporarily to prevent AI actions constantly being cancelled during normal turn based combat.
// Need to find out when this conditional is actually needed.
#if 0
else if ( pSoldier->ubQuoteRecord == 0 && !gTacticalStatus.fAutoBandageMode )
{
// don't force, don't want escorted mercs reacting to new opponents, etc.
@@ -664,6 +667,7 @@ void HandleSoldierAI( SOLDIERTYPE *pSoldier ) // FIXME - this function is named
}
DecideAlertStatus( pSoldier );
}
#endif
else
{
if ( pSoldier->ubQuoteRecord )