Skip to content

Commit 545009a

Browse files
committed
Minor change to mapping
Should make locations in vanilla map less even likely to be in abnormal locations.
1 parent bf3c23e commit 545009a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

common/build.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/* This file is generated by git */
2-
#define BUILD "505"
2+
#define BUILD "506"

common/map.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ static void map_find_land(dw_map *map, int one, int two, uint8_t *x, uint8_t *y,
341341
int spot_index, loop = 0;
342342

343343
for (;;) {
344-
if (!ignore_vanilla && !RANDOM_MAP(map) && loop < 50) {
344+
if (!ignore_vanilla && !RANDOM_MAP(map) && loop < 200) {
345345
spot_index = mt_rand(0, VAN_SPOT_COUNT-1);
346346
*x = vanilla_spots[spot_index][0];
347347
*y = vanilla_spots[spot_index][1];

0 commit comments

Comments
 (0)