From 90fa779a244e2f2fcb6925ef3fabe2714fd550d0 Mon Sep 17 00:00:00 2001 From: truelight Date: Tue, 26 Jun 2007 13:46:56 +0000 Subject: (svn r10340) -Fix: make sure no industry production can ever hit < 32 with smooth_economy --- src/industry_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 1c6980d18..c7a6ff106 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1647,7 +1647,7 @@ static void ExtChangeIndustryProduction(Industry *i) * stuck there for ever). */ new_prod += ((RandomRange(old_prod == 4 ? 55 : 50) + 10) * old_prod) >> 8; - new_prod = clamp(new_prod, 0, 255); + new_prod = clamp(new_prod, 4, 255); if (new_prod == old_prod) { closeit = false; continue; -- cgit v1.2.3-70-g09d2