equal
deleted
inserted
replaced
228 case WE_PAINT: { |
228 case WE_PAINT: { |
229 if (WP(w,def_d).close) |
229 if (WP(w,def_d).close) |
230 return; |
230 return; |
231 w->click_state = (1<<3) << _station_show_coverage; |
231 w->click_state = (1<<3) << _station_show_coverage; |
232 DrawWindowWidgets(w); |
232 DrawWindowWidgets(w); |
233 if (_patches.modified_catchment) { |
233 |
234 rad = CA_DOCK; |
234 rad = (_patches.modified_catchment) ? CA_DOCK : 4; |
235 } else { |
|
236 rad = 4; |
|
237 } |
|
238 |
235 |
239 if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad); |
236 if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad); |
240 else SetTileSelectBigSize(0, 0, 0, 0); |
237 else SetTileSelectBigSize(0, 0, 0, 0); |
241 |
238 |
242 DrawStringCentered(74, 17, STR_3066_COVERAGE_AREA_HIGHLIGHT, 0); |
239 DrawStringCentered(74, 17, STR_3066_COVERAGE_AREA_HIGHLIGHT, 0); |