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
+1 -1
View File
@@ -3749,7 +3749,7 @@ void CreateTempPlayerMerc()
{
SOLDIERCREATE_STRUCT MercCreateStruct;
static INT32 iSoldierCount=0;
UINT16 ubID;
SoldierID ubID;
//Init the merc create structure with basic information
MercCreateStruct.bTeam = SOLDIER_CREATE_AUTO_TEAM;
+1 -1
View File
@@ -2995,7 +2995,7 @@ void AddNPCToGridNo( INT32 iGridNo )
{
SOLDIERCREATE_STRUCT MercCreateStruct;
INT16 sSectorX, sSectorY;
UINT16 ubID;
SoldierID ubID;
GetCurrentWorldSector( &sSectorX, &sSectorY );
MercCreateStruct.bTeam = CIV_TEAM;