(shar): Fix prompting for first argument.
This commit is contained in:
parent
7b7608d5ca
commit
e66d0bfb83
1 changed files with 2 additions and 4 deletions
|
@ -48,10 +48,8 @@ shar(void)
|
||||||
s_char des = 0;
|
s_char des = 0;
|
||||||
int n;
|
int n;
|
||||||
|
|
||||||
if (!player->argp[1] ||
|
to = natarg(player->argp[1], "Share bmap with which country? ");
|
||||||
!*player->argp[1] ||
|
if (to < 0)
|
||||||
(to =
|
|
||||||
natarg(player->argp[1], "Share bmap with which country? ")) < 0)
|
|
||||||
return RET_SYN;
|
return RET_SYN;
|
||||||
|
|
||||||
if (getrel(getnatp(to), player->cnum) < FRIENDLY) {
|
if (getrel(getnatp(to), player->cnum) < FRIENDLY) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue