src/game/Strategic/SAM_Sites.cc
INT8 GetSAMIdFromSector(INT16 sSectorX, INT16 sSectorY, INT8 bSectorZ)
{
	// check if valid sector
	if (bSectorZ != 0)
	{
		return(-1);
	}

	// get the sector value
	INT16 sSectorValue = SECTOR(sSectorX, sSectorY);
	return GCM->findSamIDBySector(sSectorValue);
}
// a -1 will be returned upon failure
1 will be returned upon failure
1 will be returned upon failure
INT8 GetSAMIdFromSector(INT16 sSectorX, INT16 sSectorY, INT8 bSectorZ)
{
	if (bSectorZ != 0)
	{
		return(-1);
	}
	INT16 sSectorValue = SECTOR(sSectorX, sSectorY);
	return GCM->findSamIDBySector(sSectorValue);
}
INT8 GetSAMIdFromSector ( INT16 sSectorX , INT16 sSectorY , INT8 bSectorZ ) { if ( bSectorZ != 0 ) { return ( -1 ) ; } INT16 sSectorValue = SECTOR ( sSectorX , sSectorY ) ; return GCM -> findSamIDBySector ( sSectorValue ) ; }
a -1 will be returned upon failure
a - 1 will be returned upon failure
// check if valid sector // get the sector value