mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
GetSoldier() to SoldierID
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user