(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:
parent
e3443c78eb
commit
011f88fec8
5 changed files with 9 additions and 26 deletions
|
@ -59,10 +59,8 @@ nati(void)
|
|||
else
|
||||
cnum = player->cnum;
|
||||
|
||||
if ((natp = getnatp(cnum)) == 0) {
|
||||
pr("Bad country number %d\n", cnum);
|
||||
if ((natp = getnatp(cnum)) == 0)
|
||||
return RET_SYN;
|
||||
}
|
||||
|
||||
if (!player->god && cnum != player->cnum) {
|
||||
pr("Only deities can request a nation "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue