(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().
This commit is contained in:
parent
274c8e423c
commit
4d3b9dc77a
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ march(void)
|
||||||
* fall through
|
* fall through
|
||||||
*/
|
*/
|
||||||
case 'M':
|
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);
|
draw_map(bmap_flag, origin, 0, &ns);
|
||||||
skip = 1;
|
skip = 1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue