(coun_list, repo_list, nati): Replace in-flux determination code with influx().
(influx): New.
This commit is contained in:
parent
d1e2d91961
commit
5ffef496ea
5 changed files with 19 additions and 13 deletions
|
@ -61,9 +61,7 @@ nati(void)
|
|||
pr(" Bureaucratic Time Units: %d\n", natp->nat_btu);
|
||||
if (natp->nat_stat & STAT_INUSE) {
|
||||
getsect(natp->nat_xcap, natp->nat_ycap, §);
|
||||
if (!player->owner || (sect.sct_type != SCT_CAPIT &&
|
||||
sect.sct_type != SCT_MOUNT &&
|
||||
sect.sct_type != SCT_SANCT))
|
||||
if (influx(natp))
|
||||
pr("No capital. (was at %s)\n",
|
||||
xyas(sect.sct_x, sect.sct_y, player->cnum));
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue