Use SoldierID

This commit is contained in:
Asdow
2024-11-20 21:03:08 +02:00
parent d826491c83
commit dbc4135974
12 changed files with 60 additions and 60 deletions
+2 -2
View File
@@ -582,7 +582,7 @@ BOOLEAN AddPlacementToWorld( SOLDIERINITNODE *curr, GROUP *pGroup = NULL )
UINT8 ubProfile;
SOLDIERCREATE_STRUCT tempDetailedPlacement;
SOLDIERTYPE *pSoldier;
UINT16 ubID;
SoldierID ubID;
DebugMsg(TOPIC_JA2,DBG_LEVEL_3,String("AddPlacementToWorld"));
// First check if this guy has a profile and if so check his location such that it matches!
@@ -2659,7 +2659,7 @@ void AddProfilesUsingProfileInsertionData()
if( !pSoldier )
{ //Create a new soldier, as this one doesn't exist
SOLDIERCREATE_STRUCT MercCreateStruct;
UINT16 ubID;
SoldierID ubID;
//Set up the create struct so that we can properly create the profile soldier.
MercCreateStruct.initialize();