GetSoldier() to SoldierID

This commit is contained in:
Asdow
2024-11-17 10:33:29 +02:00
parent 3e1c87f53c
commit 3fe6e4f3d8
3 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ BOOLEAN AddUIPlan( INT32 sGridNo, UINT8 ubPlanID )
if ( TacticalCreateSoldier( &MercCreateStruct, &ubNewIndex ) )
{
// Get pointer to soldier
GetSoldier( &pPlanSoldier, (UINT16)ubNewIndex );
GetSoldier( &pPlanSoldier, ubNewIndex );
pPlanSoldier->sPlannedTargetX = -1;
pPlanSoldier->sPlannedTargetY = -1;