src/game/Tactical/Handle_UI.cc
CFOR_EACH_IN_TEAM(s, OUR_TEAM)
	{
		// Check if this guy is OK to control....
		if (OkControllableMerc(s) && !(s->uiStatusFlags & (SOLDIER_VEHICLE | SOLDIER_PASSENGER | SOLDIER_DRIVER)))
		{
			// Get screen pos of gridno......
			GetGridNoScreenXY(s->sGridNo, &sScreenX, &sScreenY);

			// ATE: If we are in a hiehger interface level, subttrasct....
			if ( gsInterfaceLevel == 1 )
			{
				sScreenY -= 50;
			}

			if (IsPointInScreenRect(sScreenX, sScreenY, aRect))
			{
				fAtLeastOne = TRUE;
			}
		}
	}
// ATE:Check at least for one guy that's in point!
Check at least for one guy that's in point!
Check at least for one guy that ' s in point!
CFOR_EACH_IN_TEAM(s, OUR_TEAM)
	{
		if (OkControllableMerc(s) && !(s->uiStatusFlags & (SOLDIER_VEHICLE | SOLDIER_PASSENGER | SOLDIER_DRIVER)))
		{
			GetGridNoScreenXY(s->sGridNo, &sScreenX, &sScreenY);
			if ( gsInterfaceLevel == 1 )
			{
				sScreenY -= 50;
			}
			if (IsPointInScreenRect(sScreenX, sScreenY, aRect))
			{
				fAtLeastOne = TRUE;
			}
		}
	}
CFOR_EACH_IN_TEAM ( s , OUR_TEAM ) { if ( OkControllableMerc ( s ) && ! ( s -> uiStatusFlags & ( SOLDIER_VEHICLE | SOLDIER_PASSENGER | SOLDIER_DRIVER ) ) ) { GetGridNoScreenXY ( s -> sGridNo , & sScreenX , & sScreenY ) ; if ( gsInterfaceLevel == 1 ) { sScreenY -= 50 ; } if ( IsPointInScreenRect ( sScreenX , sScreenY , aRect ) ) { fAtLeastOne = TRUE ; } } }
ATE:Check at least for one guy that's in point!
ATE : Check at least for one guy that ' s in point!
// Check if this guy is OK to control.... // Get screen pos of gridno...... // ATE: If we are in a hiehger interface level, subttrasct....