(map): Prompt only for sects for map and bmap commands.
Broken in 1.27.
This commit is contained in:
parent
22e529a93d
commit
80e5a77e83
1 changed files with 4 additions and 1 deletions
|
@ -43,7 +43,7 @@
|
||||||
int
|
int
|
||||||
map(void)
|
map(void)
|
||||||
{
|
{
|
||||||
int unit_type = EF_SHIP;
|
int unit_type = EF_BAD;
|
||||||
int bmap = 0;
|
int bmap = 0;
|
||||||
char *str;
|
char *str;
|
||||||
char buf[1024];
|
char buf[1024];
|
||||||
|
@ -87,5 +87,8 @@ map(void)
|
||||||
} else
|
} else
|
||||||
str = player->argp[1];
|
str = player->argp[1];
|
||||||
|
|
||||||
|
if (unit_type == EF_BAD)
|
||||||
|
unit_type = EF_SHIP;
|
||||||
|
|
||||||
return do_map(bmap, unit_type, str, player->argp[2]);
|
return do_map(bmap, unit_type, str, player->argp[2]);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue