(age_levels): Simplify country status check for leaking tech. Don't
leak to countries in state STAT_NEW.
This commit is contained in:
parent
604fe007c0
commit
cd668a99a6
1 changed files with 1 additions and 5 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue