(acce, flash, nati, new, rela): Don't bother to complain about bad

country argument, natarg() does that.

(acce, flash, nati, rela): natarg() ensures getnatp() succeeds, no
need to check.
This commit is contained in:
Markus Armbruster 2006-01-06 17:44:31 +00:00
parent e3443c78eb
commit 011f88fec8
5 changed files with 9 additions and 26 deletions

View file

@ -53,10 +53,7 @@ flash(void)
us = getnatp(player->cnum);
if ((tocn = natarg(player->argp[1], "to which country? ")) < 0)
return RET_SYN;
if (!(to = getnatp((natid)tocn))) {
pr("Bad country number\n");
return RET_SYN;
}
to = getnatp(tocn);
if (us->nat_stat == STAT_GOD) {
/* We are gods, we can flash anyone */