Fix default map size in interactive move, test and transport
Sub-command 'm' calls display_region_map() to display a map. The map is centered on the current sector by default. It extended one sector farther to the right and down than to the left and up. Odd, and inconsistent with the map size used by unit_map() for navigate and march sub-command 'M'. Fix that.
This commit is contained in:
parent
dce3ba7e2f
commit
88997ec31f
1 changed files with 2 additions and 2 deletions
|
@ -384,8 +384,8 @@ display_region_map(int bmap, int unit_type, coord curx, coord cury,
|
|||
|
||||
np = getnatp(player->cnum);
|
||||
sprintf(coordinates, "%d:%d,%d:%d",
|
||||
xrel(np, curx - 10), xrel(np, curx + 11),
|
||||
yrel(np, cury - 5), yrel(np, cury + 6));
|
||||
xrel(np, curx - 10), xrel(np, curx + 10),
|
||||
yrel(np, cury - 5), yrel(np, cury + 5));
|
||||
arg = coordinates;
|
||||
map_flag_arg = NULL;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue