@@ -566,7 +566,7 @@ static int find_walkable_area(dw_map *map, int *lm_sizes, int *largest,
566566static BOOL place_landmarks (dw_map * map )
567567{
568568 int i , largest = 0 , next = 0 , lm_sizes [256 ],
569- rimuldar_lm1 , rimuldar_lm2 ;
569+ rimuldar_lm1 , rimuldar_lm2 , brecc_lm1 , brecc_lm2 ;
570570 uint8_t tantegel_lm , charlock_lm ;
571571 dw_map_index swamp_north , swamp_south ;
572572 BOOL swamp_placed = FALSE;
@@ -627,8 +627,8 @@ static BOOL place_landmarks(dw_map *map)
627627 swamp_north = map -> warps_from [WARP_SWAMP_NORTH ].map ;
628628 swamp_south = map -> warps_from [WARP_SWAMP_SOUTH ].map ;
629629
630- rimuldar_lm1 = largest ;
631- rimuldar_lm2 = next ;
630+ rimuldar_lm1 = brecc_lm1 = largest ;
631+ rimuldar_lm2 = brecc_lm1 = next ;
632632
633633 /* check for swamp cave to be in tantegel and/or garinham */
634634 if (swamp_north == TANTEGEL || swamp_south == TANTEGEL ) {
@@ -639,7 +639,8 @@ static BOOL place_landmarks(dw_map *map)
639639 swamp_placed = TRUE;
640640 }
641641 /* rimuldar needs to be on the same land mass as tantegel (for keys) */
642- rimuldar_lm1 = rimuldar_lm2 = (int )tantegel_lm ;
642+ /* brecconary on the same land mass as tantegel (for uncursing) */
643+ rimuldar_lm1 = rimuldar_lm2 = brecc_lm1 = brecc_lm2 = (int )tantegel_lm ;
643644 } else {
644645 tantegel_lm = place_tantegel (map , largest , next );
645646 }
@@ -660,12 +661,11 @@ static BOOL place_landmarks(dw_map *map)
660661 }
661662 map -> meta [RIMULDAR ].border =
662663 place (map , WARP_RIMULDAR , TILE_TOWN , rimuldar_lm1 , rimuldar_lm2 );
663-
664+ map -> meta [BRECCONARY ].border =
665+ place (map , WARP_BRECCONARY , TILE_TOWN , brecc_lm1 , brecc_lm2 );
664666
665667 map -> meta [KOL ].border =
666668 place (map , WARP_KOL , TILE_TOWN , largest , next );
667- map -> meta [BRECCONARY ].border =
668- place (map , WARP_BRECCONARY , TILE_TOWN , largest , next );
669669 map -> meta [HAUKSNESS ].border =
670670 place (map , WARP_HAUKSNESS , TILE_TOWN , largest , next );
671671 map -> meta [CANTLIN ].border =
0 commit comments