equal
deleted
inserted
replaced
161 /* first indutry type is selected. |
161 /* first indutry type is selected. |
162 * I'll be damned if there are none available ;) */ |
162 * I'll be damned if there are none available ;) */ |
163 this->selected_index = 0; |
163 this->selected_index = 0; |
164 this->selected_type = this->index[0]; |
164 this->selected_type = this->index[0]; |
165 this->callback_timer = DAY_TICKS; |
165 this->callback_timer = DAY_TICKS; |
|
166 |
|
167 this->FindWindowPlacementAndResize(&_build_industry_desc); |
166 } |
168 } |
167 |
169 |
168 virtual void OnPaint() |
170 virtual void OnPaint() |
169 { |
171 { |
170 const IndustrySpec *indsp = (this->selected_type == INVALID_INDUSTRYTYPE) ? NULL : GetIndustrySpec(this->selected_type); |
172 const IndustrySpec *indsp = (this->selected_type == INVALID_INDUSTRYTYPE) ? NULL : GetIndustrySpec(this->selected_type); |