summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2019-11-20 01:00:07 +0100
committerCharles Pigott <charlespigott@googlemail.com>2019-11-20 08:01:37 +0000
commit61dba850af737cd49d1bb344dafd7a91a18895bf (patch)
tree9be35923cc196ddf1213a3932517339bdd563bf1
parentc7b703d426c9e50bbfcc3cafa4102ee73666cb02 (diff)
downloadopenttd-61dba850af737cd49d1bb344dafd7a91a18895bf.tar.xz
Revert #7837, 7e22f243e: OpenTTD tries to replicate the original game mechanics.
Making numbers look nice and correlate is no goal, and in this case they actually did not correlate.
-rw-r--r--src/town_cmd.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/town_cmd.cpp b/src/town_cmd.cpp
index b982ca562..139e0217d 100644
--- a/src/town_cmd.cpp
+++ b/src/town_cmd.cpp
@@ -3360,9 +3360,14 @@ static int CountActiveStations(Town *t)
*/
static uint GetNormalGrowthRate(Town *t)
{
+ /**
+ * Note:
+ * Unserviced+unfunded towns get an additional malus in UpdateTownGrowth(),
+ * so the "320" is actually not better than the "420".
+ */
static const uint16 _grow_count_values[2][6] = {
{ 120, 120, 120, 100, 80, 60 }, // Fund new buildings has been activated
- { 420, 420, 300, 220, 160, 100 } // Normal values
+ { 320, 420, 300, 220, 160, 100 } // Normal values
};
int n = CountActiveStations(t);