]> git.pond.sub.org Git - empserver/blobdiff - src/lib/update/age.c
COPYING duplicates information from README. Remove. Move GPL from
[empserver] / src / lib / update / age.c
index 82d67ba1a13fc59876c48da4106226fcc10ad450..4739957bf5da7579ad1b226056ce0798d2fa08ab 100644 (file)
@@ -19,9 +19,9 @@
  *
  *  ---
  *
- *  See the "LEGAL", "LICENSE", "CREDITS" and "README" files for all the
- *  related information and legal notices. It is expected that any future
- *  projects/authors will amend these files as needed.
+ *  See files README, COPYING and CREDITS in the root of the source
+ *  tree for related information and legal notices.  It is expected
+ *  that future projects/authors will amend these files as needed.
  *
  *  ---
  *
@@ -79,11 +79,7 @@ age_levels(int etu)
     best_tech /= 5;
     best_res /= 5;
     for (i = 0; NULL != (np = getnatp(i)); i++) {
-       if (np->nat_stat == STAT_UNUSED)
-           continue;
-       if (np->nat_stat == STAT_GOD)
-           continue;
-       if (np->nat_stat == STAT_VIS)
+       if (np->nat_stat < STAT_SANCT || np->nat_stat == STAT_GOD)
            continue;
        level = np->nat_level[NAT_TLEV];
        if (level < best_tech && chance(0.2))