src/game/Laptop/Personnel.cc
static void SelectFirstDisplayedMerc(void)
{
	// set current soldier
	if (fCurrentTeamMode)
	{
		CFOR_EACH_PERSONNEL(s)
		{
			iCurrentPersonSelectedId = 0;
			return;
		}
		iCurrentPersonSelectedId = -1;
	}
	else
	{
		iCurrentPersonSelectedId = GetNumberOfPastMercsOnPlayersTeam() > 0 ? 0 : -1;
	}
}
// Select the first displayed merc, if there is any
Select the first displayed merc, if there is any
Select the first displayed merc if there is any
static void SelectFirstDisplayedMerc(void)
{
	if (fCurrentTeamMode)
	{
		CFOR_EACH_PERSONNEL(s)
		{
			iCurrentPersonSelectedId = 0;
			return;
		}
		iCurrentPersonSelectedId = -1;
	}
	else
	{
		iCurrentPersonSelectedId = GetNumberOfPastMercsOnPlayersTeam() > 0 ? 0 : -1;
	}
}
static void SelectFirstDisplayedMerc ( void ) { if ( fCurrentTeamMode ) { CFOR_EACH_PERSONNEL ( s ) { iCurrentPersonSelectedId = 0 ; return ; } iCurrentPersonSelectedId = -1 ; } else { iCurrentPersonSelectedId = GetNumberOfPastMercsOnPlayersTeam ( ) > 0 ? 0 : -1 ; } }
Select the first displayed merc, if there is any
Select the first displayed merc if there is any
// set current soldier