Add more AI logging

This commit is contained in:
Asdow
2024-02-11 11:21:41 +02:00
parent 1a98420160
commit 67a26e0936
+2
View File
@@ -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;
} }
} }