mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r17198) -Fix [FS#2406]: Accept monthly production values in the scenario editor.
This commit is contained in:
parent
a33376b6ca
commit
098756b84b
@ -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();
|
||||
}
|
||||
|
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user