mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Add more AI logging
This commit is contained in:
@@ -5253,6 +5253,7 @@ INT8 DecideActionBlack(SOLDIERTYPE *pSoldier)
|
|||||||
AIPopMessage(tempstr);
|
AIPopMessage(tempstr);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
DebugAI(AI_MSG_INFO, pSoldier, String("Gassed or low on breath, run away to grid %d", pSoldier->aiData.usActionData));
|
||||||
return(AI_ACTION_RUN_AWAY);
|
return(AI_ACTION_RUN_AWAY);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -5563,6 +5564,7 @@ INT8 DecideActionBlack(SOLDIERTYPE *pSoldier)
|
|||||||
|
|
||||||
if ( !TileIsOutOfBounds( pSoldier->aiData.usActionData ) )
|
if ( !TileIsOutOfBounds( pSoldier->aiData.usActionData ) )
|
||||||
{
|
{
|
||||||
|
DebugAI(AI_MSG_INFO, pSoldier, String("[VIP Retreat] grid# %d", pSoldier->aiData.usActionData));
|
||||||
return AI_ACTION_RUN_AWAY;
|
return AI_ACTION_RUN_AWAY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user