mirror of
https://github.com/1dot13/source.git
synced 2026-07-29 13:52:17 +02:00
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:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user