From b718b463c2125892c447cd1a524b4e473af856d1 Mon Sep 17 00:00:00 2001 From: Asdow <20314541+Asdow@users.noreply.github.com> Date: Mon, 18 Nov 2024 23:22:00 +0200 Subject: [PATCH] Use SoldierID --- TacticalAI/AIList.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TacticalAI/AIList.cpp b/TacticalAI/AIList.cpp index e91c48e11..a1700b3b3 100644 --- a/TacticalAI/AIList.cpp +++ b/TacticalAI/AIList.cpp @@ -85,7 +85,7 @@ SoldierID RemoveFirstAIListEntry( void ) DeleteAIListEntry( pOldFirstEntry ); // make sure conditions still met - if ( SatisfiesAIListConditions( MercPtrs[ ubID ], NULL, FALSE ) ) + if ( SatisfiesAIListConditions( ubID, NULL, FALSE ) ) { return( ubID ); }