mirror of
https://github.com/1dot13/source.git
synced 2026-09-09 14:46:05 +02:00
Fix UINT8 references to pSoldier->ubID to UINT16
This commit is contained in:
@@ -1355,7 +1355,7 @@ BOOLEAN AddLifeInsurancePayout( SOLDIERTYPE *pSoldier )
|
||||
}
|
||||
|
||||
|
||||
void StartInsuranceInvestigation( UINT8 ubPayoutID )
|
||||
void StartInsuranceInvestigation( UINT16 ubPayoutID )
|
||||
{
|
||||
UINT8 ubDays;
|
||||
|
||||
@@ -1408,7 +1408,7 @@ void StartInsuranceInvestigation( UINT8 ubPayoutID )
|
||||
}
|
||||
|
||||
|
||||
void EndInsuranceInvestigation( UINT8 ubPayoutID )
|
||||
void EndInsuranceInvestigation( UINT16 ubPayoutID )
|
||||
{
|
||||
// send an email telling player the investigation is over
|
||||
if ( gMercProfiles[ LaptopSaveInfo.pLifeInsurancePayouts[ ubPayoutID ].ubMercID ].ubSuspiciousDeath == VERY_SUSPICIOUS_DEATH )
|
||||
|
||||
@@ -19,8 +19,8 @@ void DailyUpdateOfInsuredMercs();
|
||||
|
||||
BOOLEAN AddLifeInsurancePayout( SOLDIERTYPE *pSoldier );
|
||||
void InsuranceContractPayLifeInsuranceForDeadMerc( UINT16 ubPayoutID );
|
||||
void StartInsuranceInvestigation( UINT8 ubPayoutID );
|
||||
void EndInsuranceInvestigation( UINT8 ubPayoutID );
|
||||
void StartInsuranceInvestigation( UINT16 ubPayoutID );
|
||||
void EndInsuranceInvestigation( UINT16 ubPayoutID );
|
||||
|
||||
INT32 CalculateInsuranceContractCost( INT32 iLength, UINT8 ubMercID );
|
||||
|
||||
@@ -28,4 +28,4 @@ void InsuranceContractEndGameShutDown();
|
||||
|
||||
void PurchaseOrExtendInsuranceForSoldier( SOLDIERTYPE *pSoldier, UINT32 uiInsuranceLength );
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user