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