src/game/Laptop/Personnel.cc
BOOLEAN RemoveNewlyHiredMercFromPersonnelDepartedList(UINT8 ubProfile)
{
	for (INT32 i = 0; i < 256; i++)
	{
		// are they already in the Dead list?
		if (LaptopSaveInfo.ubDeadCharactersList[i] == ubProfile)
		{
			//Reset the fact that they were once hired
			LaptopSaveInfo.ubDeadCharactersList[i] = -1;
			return TRUE;
		}

		// are they already in the other list?
		if (LaptopSaveInfo.ubLeftCharactersList[i] == ubProfile)
		{
			//Reset the fact that they were once hired
			LaptopSaveInfo.ubLeftCharactersList[i] = -1;
			return TRUE;
		}

		// are they already in the list?
		if (LaptopSaveInfo.ubOtherCharactersList[i] == ubProfile)
		{
			//Reset the fact that they were once hired
			LaptopSaveInfo.ubOtherCharactersList[i] = -1;
			return TRUE;
		}
	}

	return FALSE;
}
// If you have hired a merc before, then the they left for whatever reason, and now you are hiring them again,
// we must get rid of them from the departed section in the personnel screen.  (wouldnt make sense for them
//to be on your team list, and departed list)
If you have hired a merc before, then the they left for whatever reason, and now you are hiring them again,
we must get rid of them from the departed section in the personnel screen.  (wouldnt make sense for them
to be on your team list, and departed list)
If you have hired a merc before then the they left for whatever reason and now you are hiring them again we must get rid of them from the departed section in the personnel screen . ( wouldnt make sense for them to be on your team list and departed list )
BOOLEAN RemoveNewlyHiredMercFromPersonnelDepartedList(UINT8 ubProfile)
{
	for (INT32 i = 0; i < 256; i++)
	{
		if (LaptopSaveInfo.ubDeadCharactersList[i] == ubProfile)
		{
			LaptopSaveInfo.ubDeadCharactersList[i] = -1;
			return TRUE;
		}
		if (LaptopSaveInfo.ubLeftCharactersList[i] == ubProfile)
		{
			LaptopSaveInfo.ubLeftCharactersList[i] = -1;
			return TRUE;
		}
		if (LaptopSaveInfo.ubOtherCharactersList[i] == ubProfile)
		{
			LaptopSaveInfo.ubOtherCharactersList[i] = -1;
			return TRUE;
		}
	}
	return FALSE;
}
BOOLEAN RemoveNewlyHiredMercFromPersonnelDepartedList ( UINT8 ubProfile ) { for ( INT32 i = 0 ; i < 256 ; i ++ ) { if ( LaptopSaveInfo . ubDeadCharactersList [ i ] == ubProfile ) { LaptopSaveInfo . ubDeadCharactersList [ i ] = -1 ; return TRUE ; } if ( LaptopSaveInfo . ubLeftCharactersList [ i ] == ubProfile ) { LaptopSaveInfo . ubLeftCharactersList [ i ] = -1 ; return TRUE ; } if ( LaptopSaveInfo . ubOtherCharactersList [ i ] == ubProfile ) { LaptopSaveInfo . ubOtherCharactersList [ i ] = -1 ; return TRUE ; } } return FALSE ; }
If you have hired a merc before, then the they left for whatever reason, and now you are hiring them again,
we must get rid of them from the departed section in the personnel screen.
If you have hired a merc before then the they left for whatever reason and now you are hiring them again we must get rid of them from the departed section in the personnel screen .
// are they already in the Dead list? //Reset the fact that they were once hired // are they already in the other list? //Reset the fact that they were once hired // are they already in the list? //Reset the fact that they were once hired