]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/coun.c
(coun_list, repo_list, nati): Replace in-flux determination code with influx().
[empserver] / src / lib / commands / coun.c
index 9e0e57dbab2c71c81f96b2d15b1fd8af4a08d083..52c8f221639e2814f2d716ac74c173fc710070b4 100644 (file)
@@ -68,7 +68,6 @@ static void
 coun_list(struct natstr *natp)
 {
     char *status;
-    struct sctstr sect;
     natid cn = natp->nat_cnum;
 
     pr("%3d  ", cn);
@@ -102,9 +101,7 @@ coun_list(struct natstr *natp)
     else if (natp->nat_stat & STAT_NORM) {
        status = "Active";
        if (!opt_HIDDEN || player->god) {
-           getsect(natp->nat_xcap, natp->nat_ycap, &sect);
-           if (sect.sct_own != cn ||
-               (sect.sct_type != SCT_CAPIT && sect.sct_type != SCT_MOUNT))
+           if (influx(natp))
                status = "In flux";
            else if (natp->nat_money < 0)
                status = "Broke";