File diff r10179:3efd276efc13 → r10180:4b784f7e933a
src/industry_gui.cpp
Show inline comments
 
@@ -595,13 +595,13 @@ public:
 
							if (IsProductionMaximum(i, line)) return;
 
							i->production_rate[line] = minu(new_prod, 255);
 
						}
 

	
 
						UpdateIndustryProduction(i);
 
						this->SetDirty();
 
						this->flags4 |= 5 << WF_TIMEOUT_SHL;
 
						this->flags4 |= WF_TIMEOUT_BEGIN;
 
						this->clicked_line = line + 1;
 
						this->clicked_button = (x < 15 ? 1 : 2);
 
					} else if (IsInsideMM(x, 34, 160)) {
 
						/* clicked the text */
 
						this->editbox_line = line;
 
						SetDParam(0, i->production_rate[line] * 8);