mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Remove MercPtrs[]
SoldierID works without it thanks to operator overload
This commit is contained in:
@@ -3004,7 +3004,7 @@ INT8 DecideActionRed(SOLDIERTYPE *pSoldier)
|
|||||||
if (BestThrow.ubOpponent != NOBODY && !BestThrow.ubOpponent->IsFlanking())
|
if (BestThrow.ubOpponent != NOBODY && !BestThrow.ubOpponent->IsFlanking())
|
||||||
{
|
{
|
||||||
DebugAI(AI_MSG_INFO, pSoldier, String("start retreat counter for %d", BestThrow.ubOpponent), gLogDecideActionRed);
|
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
|
// if necessary, swap the usItem from holster into the hand position
|
||||||
|
|||||||
Reference in New Issue
Block a user