(svn r21156) -Codechange: Introduce EconomyIsInRecession().

This commit is contained in:
alberth
2010-11-13 09:45:20 +00:00
parent aea8274dba
commit 43f807a918
5 changed files with 15 additions and 6 deletions

View File

@@ -497,7 +497,7 @@ static void TransportIndustryGoods(TileIndex tile)
i->produced_cargo_waiting[j] -= cw;
/* fluctuating economy? */
if (_economy.fluct <= 0) cw = (cw + 1) / 2;
if (EconomyIsInRecession()) cw = (cw + 1) / 2;
i->this_month_production[j] += cw;