Allow deity to display power report for all types of countries
Relax country status check of power c for deities. Can be useful to display NPCs.
This commit is contained in:
parent
66406bd240
commit
aab015c641
1 changed files with 3 additions and 1 deletions
|
@ -96,7 +96,9 @@ powe(void)
|
||||||
if (player->argp[i][0] == 'c') {
|
if (player->argp[i][0] == 'c') {
|
||||||
snxtitem(&ni, EF_NATION, player->argp[i + 1]);
|
snxtitem(&ni, EF_NATION, player->argp[i + 1]);
|
||||||
while (nxtitem(&ni, &nat)) {
|
while (nxtitem(&ni, &nat)) {
|
||||||
if (nat.nat_stat != STAT_ACTIVE)
|
if (nat.nat_stat == STAT_UNUSED)
|
||||||
|
continue;
|
||||||
|
if (!player->god && nat.nat_stat != STAT_ACTIVE)
|
||||||
continue;
|
continue;
|
||||||
targets[nat.nat_cnum] = 1;
|
targets[nat.nat_cnum] = 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue