mirror of
https://github.com/1dot13/source.git
synced 2026-08-05 14:00:23 +02:00
Convert to SoldierID
This commit is contained in:
@@ -721,11 +721,9 @@ void HandleMercsAboutToLeave( SOLDIERTYPE *pMercList )
|
||||
|
||||
// ATE: This function deals with MERC MERC and NPC's leaving because of not getting paid...
|
||||
// NOT AIM renewals....
|
||||
void MercsContractIsFinished( UINT16 ubID )
|
||||
void MercsContractIsFinished( SoldierID ubID )
|
||||
{
|
||||
SOLDIERTYPE *pSoldier;
|
||||
|
||||
pSoldier = &Menptr[ ubID ];
|
||||
SOLDIERTYPE *pSoldier = ubID;
|
||||
|
||||
//if the soldier was removed before getting into this function, return
|
||||
if( !pSoldier->bActive )
|
||||
@@ -775,11 +773,9 @@ void MercsContractIsFinished( UINT16 ubID )
|
||||
}
|
||||
|
||||
// ATE: Called for RPCs who should now complain about no pay...
|
||||
void RPCWhineAboutNoPay( UINT16 ubID )
|
||||
void RPCWhineAboutNoPay( SoldierID ubID )
|
||||
{
|
||||
SOLDIERTYPE *pSoldier;
|
||||
|
||||
pSoldier = &Menptr[ ubID ];
|
||||
SOLDIERTYPE *pSoldier = ubID;
|
||||
|
||||
//if the soldier was removed before getting into this function, return
|
||||
if( !pSoldier->bActive )
|
||||
|
||||
Reference in New Issue
Block a user