- }
- if (n < 0 || n >= MAXNOC) {
- pr("No such country exists.\n");
- n = -1;
- }
- if (opt_HIDDEN) {
- if (!player->god && !getcontact(getnatp(player->cnum), n)) {
- if ((np = getnatp(n)) == 0)
- return -1;
- if ((np->nat_stat & STAT_GOD) == 0) {
- if (byname) {
- pr("No such country exists.\n");
- n = -1;
- } else {
- pr("Country has not been contacted.\n");
- n = -2;
- }
- }