(svn r17198) -Fix [FS#2406]: Accept monthly production values in the scenario editor.

This commit is contained in:
alberth
2009-08-16 07:28:00 +00:00
parent a33376b6ca
commit 098756b84b
2 changed files with 2 additions and 2 deletions

View File

@@ -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();
}