Skip to content

Commit

Permalink
Fixed town names output on regional map
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenelesnov authored and NickMcConnell committed Aug 21, 2021
1 parent 8d9b162 commit e50c8b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui-map.c
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ static void regional_map(int num, int centre_place)
continue;

/* Get the place */
col = (i % side) * 10 + 1;
col = (i % side) * 18 + 1;
row = (i / side) * 4 + 1;

/* Get the level string */
Expand Down Expand Up @@ -996,7 +996,7 @@ static void regional_map(int num, int centre_place)
c_put_str(i == size / 2 ? COLOUR_WHITE : COLOUR_L_DARK, lev_name,
row + 1, col);
if (world->levels[place[i]].east) {
c_put_str(COLOUR_WHITE, "-", row + 1, col + 8);
c_put_str(COLOUR_WHITE, " ---", row + 1, col + 8);
}
if (world->levels[place[i]].down) {
lev = &world->levels[place[i]];
Expand Down

0 comments on commit e50c8b4

Please sign in to comment.