Remove MercPtrs[]

SoldierID works without it thanks to operator overload
This commit is contained in:
Asdow
2026-01-19 22:58:58 +02:00
parent 4678cab16f
commit 58ea3be2fd
+1 -1
View File
@@ -3004,7 +3004,7 @@ INT8 DecideActionRed(SOLDIERTYPE *pSoldier)
if (BestThrow.ubOpponent != NOBODY && !BestThrow.ubOpponent->IsFlanking())
{
DebugAI(AI_MSG_INFO, pSoldier, String("start retreat counter for %d", BestThrow.ubOpponent), gLogDecideActionRed);
MercPtrs[BestThrow.ubOpponent]->RetreatCounterStart(2);
BestThrow.ubOpponent->RetreatCounterStart(2);
}
// if necessary, swap the usItem from holster into the hand position