]> git.pond.sub.org Git - empserver/commitdiff
Limit BTU production to 1000 civilians instead of 999
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 15 Jun 2008 06:48:22 +0000 (08:48 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 15 Jun 2008 06:49:26 +0000 (08:49 +0200)
This makes the limit again equal maximum population of a capital
sector, which changed in commit 6bbd7ffd, v4.3.6.

info/BTU.t
src/lib/common/btu.c

index 309a762ec20cfc043d90901732c93f73ff4b6776..99c16823fee1dba24ee0054f1eab4cab87ee7d3d 100644 (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.
 
 (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.
 
 (2) Find out how many civs are required to make one BTU in one time unit.
index 25afbe17a4527d9ecd289c89f1cda2890fcbb96f..8edef74f500ce246c4fc3c0b177027b73f10cf63 100644 (file)
@@ -64,8 +64,8 @@ accrued_btus(struct sctstr *cap, int etu)
        eff = 0.5;
 
     civ = cap->sct_item[I_CIVIL];
-    if (civ > 999)
-       civ = 999;
+    if (civ > 1000)
+       civ = 1000;
 
     return roundavg(etu * civ * eff * btu_build_rate);
 }