Change xdump nat to show only own country, and xdump cou to show to
deities what xdump nat used to show: (cou_ca): Remove initializer. (ef_init_srv): Initialize cou_ca[] from nat_ca[]. (xdvisible): Change case EF_NATION to return true only for owner even for deities.
This commit is contained in:
parent
3f96090ac5
commit
58f67c8e19
3 changed files with 15 additions and 10 deletions
|
@ -207,9 +207,7 @@ xdvisible(int type, void *p)
|
|||
case EF_LOST:
|
||||
return gp->own != 0 && (gp->own == player->cnum || player->god);
|
||||
case EF_NATION:
|
||||
if (!player->god)
|
||||
return gp->own == player->cnum;
|
||||
/* fall through */
|
||||
return gp->own == player->cnum;
|
||||
case EF_COUNTRY:
|
||||
return ((struct natstr *)p)->nat_stat != STAT_UNUSED;
|
||||
case EF_NEWS:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue