src/game/Strategic/Strategic_Mines.cc
INT16 GetMineSectorForTown(INT8 const town_id)
{
	for (auto m : GCM->getMines())
	{
		if (m->associatedTownId != town_id) continue;
		return SECTOR_INFO_TO_STRATEGIC_INDEX(m->entranceSector);
	}
	return -1;
}
// get the Strategic Index for the mine associated with this town
get the Strategic Index for the mine associated with this town
get the Strategic Index for the mine associated with this town
INT16 GetMineSectorForTown(INT8 const town_id)
{
	for (auto m : GCM->getMines())
	{
		if (m->associatedTownId != town_id) continue;
		return SECTOR_INFO_TO_STRATEGIC_INDEX(m->entranceSector);
	}
	return -1;
}
INT16 GetMineSectorForTown ( INT8 const town_id ) { for ( auto m : GCM -> getMines ( ) ) { if ( m -> associatedTownId != town_id ) continue ; return SECTOR_INFO_TO_STRATEGIC_INDEX ( m -> entranceSector ) ; } return -1 ; }
get the Strategic Index for the mine associated with this town
get the Strategic Index for the mine associated with this town