(svn r6368) -Fix [FS#136]: Station catchment area persists after switching tools. The
correct fix was to reset the highlight box if any size changes (grimrc)
This commit is contained in:
@@ -233,11 +233,7 @@ static void BuildDockStationWndProc(Window *w, WindowEvent *e)
|
||||
|
||||
rad = (_patches.modified_catchment) ? CA_DOCK : 4;
|
||||
|
||||
if (_station_show_coverage) {
|
||||
SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad);
|
||||
} else {
|
||||
SetTileSelectBigSize(0, 0, 0, 0);
|
||||
}
|
||||
if (_station_show_coverage) SetTileSelectBigSize(-rad, -rad, 2 * rad, 2 * rad);
|
||||
|
||||
DrawStationCoverageAreaText(4, 50, (uint)-1, rad);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user