(navi): Modify map and bmap command options for navi() to support
an user specified ship number. Without an user specified ship number it will still default to the flagship. This will make map and bmap commands consistent with commands like radar, sonar and look.
This commit is contained in:
parent
ed176d8856
commit
6a07beb3cb
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ navi(void)
|
||||||
* fall through
|
* fall through
|
||||||
*/
|
*/
|
||||||
case 'M':
|
case 'M':
|
||||||
unit_map(EF_SHIP, shp->shp_uid, &ns, &origin);
|
unit_map(EF_SHIP, atoi(player->argp[1]), &ns, &origin);
|
||||||
draw_map(bmap_flag, origin, MAP_SHIP, &ns);
|
draw_map(bmap_flag, origin, MAP_SHIP, &ns);
|
||||||
skip = 1;
|
skip = 1;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue