@@ -566,7 +566,7 @@ static int find_walkable_area(dw_map *map, int *lm_sizes, int *largest,
566
566
static BOOL place_landmarks (dw_map * map )
567
567
{
568
568
int i , largest = 0 , next = 0 , lm_sizes [256 ],
569
- rimuldar_lm1 , rimuldar_lm2 ;
569
+ rimuldar_lm1 , rimuldar_lm2 , brecc_lm1 , brecc_lm2 ;
570
570
uint8_t tantegel_lm , charlock_lm ;
571
571
dw_map_index swamp_north , swamp_south ;
572
572
BOOL swamp_placed = FALSE;
@@ -627,8 +627,8 @@ static BOOL place_landmarks(dw_map *map)
627
627
swamp_north = map -> warps_from [WARP_SWAMP_NORTH ].map ;
628
628
swamp_south = map -> warps_from [WARP_SWAMP_SOUTH ].map ;
629
629
630
- rimuldar_lm1 = largest ;
631
- rimuldar_lm2 = next ;
630
+ rimuldar_lm1 = brecc_lm1 = largest ;
631
+ rimuldar_lm2 = brecc_lm1 = next ;
632
632
633
633
/* check for swamp cave to be in tantegel and/or garinham */
634
634
if (swamp_north == TANTEGEL || swamp_south == TANTEGEL ) {
@@ -639,7 +639,8 @@ static BOOL place_landmarks(dw_map *map)
639
639
swamp_placed = TRUE;
640
640
}
641
641
/* 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 ;
643
644
} else {
644
645
tantegel_lm = place_tantegel (map , largest , next );
645
646
}
@@ -660,12 +661,11 @@ static BOOL place_landmarks(dw_map *map)
660
661
}
661
662
map -> meta [RIMULDAR ].border =
662
663
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 );
664
666
665
667
map -> meta [KOL ].border =
666
668
place (map , WARP_KOL , TILE_TOWN , largest , next );
667
- map -> meta [BRECCONARY ].border =
668
- place (map , WARP_BRECCONARY , TILE_TOWN , largest , next );
669
669
map -> meta [HAUKSNESS ].border =
670
670
place (map , WARP_HAUKSNESS , TILE_TOWN , largest , next );
671
671
map -> meta [CANTLIN ].border =
0 commit comments