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:
Markus Armbruster 2008-08-18 21:36:40 -04:00
parent dce3ba7e2f
commit 88997ec31f

View file

@ -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 {