From 4d3b9dc77afcce66924d52557aecd8afd50a07ad Mon Sep 17 00:00:00 2001 From: Ron Koenderink Date: Thu, 29 Jun 2006 13:46:03 +0000 Subject: [PATCH] (march): Modify map and bmap command options for march() to support an user specified land unit number. Without an user specified land unit number it will still default to the leader. This will map and bmap commands consistent with commands like radar and look. This is the same feature that was added to navi(). --- src/lib/commands/marc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/marc.c b/src/lib/commands/marc.c index e9c83180..d9c08099 100644 --- a/src/lib/commands/marc.c +++ b/src/lib/commands/marc.c @@ -142,7 +142,7 @@ march(void) * fall through */ case 'M': - unit_map(EF_LAND, lnd->lnd_uid, &ns, &origin); + unit_map(EF_LAND, atoi(player->argp[1]), &ns, &origin); draw_map(bmap_flag, origin, 0, &ns); skip = 1; break;