From 88997ec31fbb2faaaafa44f74272664985af31c0 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 18 Aug 2008 21:36:40 -0400 Subject: [PATCH] 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. --- src/lib/subs/maps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/subs/maps.c b/src/lib/subs/maps.c index c9c2e8c1..67b4561e 100644 --- a/src/lib/subs/maps.c +++ b/src/lib/subs/maps.c @@ -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 {