Fix UINT8 references to pSoldier->ubID to UINT16

This commit is contained in:
Asdow
2023-07-27 21:29:37 +03:00
parent 9fb4ef8607
commit 9ac53cac32
5 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -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 )