cTerritory* region( const QString& regName ) const { QMap<uint, cBaseRegion*>::const_iterator it( topregions.begin() ); for ( ; it != topregions.end(); ++it ) { cTerritory* result = dynamic_cast< cTerritory* >(it.data()->region( regName )); if ( result ) return result; } return 0;
inline cTerritory* region(const Coord_cl& pos) { return region(pos.x, pos.y, pos.map);
	cTerritory* region( const QString& regName ) const	{		QMap<uint, cBaseRegion*>::const_iterator it( topregions.begin() );		for ( ; it != topregions.end(); ++it )		{			cTerritory* result = dynamic_cast< cTerritory* >(it.data()->region( regName ));			if ( result )				return result;		}		return 0;	}