From 67549a206c438dee83f7a5c3cca86cef316edad6 Mon Sep 17 00:00:00 2001 From: alberth Date: Sat, 13 Nov 2010 15:08:47 +0000 Subject: (svn r21169) -Feature: Do not build industries during economic recession. --- src/industry_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 798a484b4..df240f0b6 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -2103,7 +2103,7 @@ void IndustryBuildData::TryBuildNewIndustry() } } - if (missing <= 0 || total_prob == 0) count = 0; // Skip creation of an industry. + if (EconomyIsInRecession() || missing <= 0 || total_prob == 0) count = 0; // Skip creation of an industry. if (count >= 1) { /* Pick a weighted random industry to build. -- cgit v1.2.3-54-g00ecf