summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/industry_gui.cpp2
-rw-r--r--src/lang/english.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp
index c6b15a6c4..ca7a51b0b 100644
--- a/src/industry_gui.cpp
+++ b/src/industry_gui.cpp
@@ -664,7 +664,7 @@ public:
Industry *i = Industry::Get(this->window_number);
int line = this->editbox_line;
- i->production_rate[line] = ClampU(atoi(str), 0, 255);
+ i->production_rate[line] = ClampU(atoi(str) / 8, 0, 255);
UpdateIndustryProduction(i);
this->SetDirty();
}
diff --git a/src/lang/english.txt b/src/lang/english.txt
index 2303a8e0d..2ffd88824 100644
--- a/src/lang/english.txt
+++ b/src/lang/english.txt
@@ -2557,7 +2557,7 @@ STR_INDUSTRY_VIEW_PRODUCES_CARGO :{BLACK}Produces
STR_INDUSTRY_VIEW_PRODUCES_CARGO_CARGO :{BLACK}Produces: {YELLOW}{STRING}{STRING}, {STRING}{STRING}
############ range for produces ends
-STR_CONFIG_GAME_PRODUCTION :{WHITE}Change production
+STR_CONFIG_GAME_PRODUCTION :{WHITE}Change production (multiple of 8, up to 2040)
# Vehicle lists
STR_VEHICLE_LIST_TRAIN_CAPTION :{WHITE}{STRING1} - {COMMA} Train{P "" s}