Limit BTU production to 1000 civilians instead of 999

This makes the limit again equal maximum population of a capital
sector, which changed in commit 6bbd7ffd, v4.3.6.
This commit is contained in:
Markus Armbruster 2008-06-15 08:48:22 +02:00
parent 4a67080656
commit 85bb88c26c
2 changed files with 3 additions and 3 deletions

View file

@ -22,7 +22,7 @@ If the game is a blitz, then as soon as your BTUs go below zero, then
they are automatically set back to the maximum. they are automatically set back to the maximum.
(1) Count the number of civs generating BTUs. (1) Count the number of civs generating BTUs.
civs = maximum(999, number of civs in your capital sector) civs = maximum(1000, number of civs in your capital sector)
Note that if you don't have a capital, then you will get _no_ BTUs. Note that if you don't have a capital, then you will get _no_ BTUs.
(2) Find out how many civs are required to make one BTU in one time unit. (2) Find out how many civs are required to make one BTU in one time unit.

View file

@ -64,8 +64,8 @@ accrued_btus(struct sctstr *cap, int etu)
eff = 0.5; eff = 0.5;
civ = cap->sct_item[I_CIVIL]; civ = cap->sct_item[I_CIVIL];
if (civ > 999) if (civ > 1000)
civ = 999; civ = 1000;
return roundavg(etu * civ * eff * btu_build_rate); return roundavg(etu * civ * eff * btu_build_rate);
} }