summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
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;