(shar): Fix prompting for first argument.

This commit is contained in:
Markus Armbruster 2006-01-06 16:10:52 +00:00
parent 7b7608d5ca
commit e66d0bfb83

View file

@ -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) {