diff options
author | Darkvater <Darkvater@openttd.org> | 2006-09-03 22:39:02 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-09-03 22:39:02 +0000 |
commit | 7369122a3ef31c2fe6a89f0cdb8390c842aad6a6 (patch) | |
tree | 99b7d09f300e1419ec5a28cd6a5bec2e50c77b3e /dock_gui.c | |
parent | 5cd58a448d1b4bf3c49bd1ba5ca262b73e79e280 (diff) | |
download | openttd-7369122a3ef31c2fe6a89f0cdb8390c842aad6a6.tar.xz |
(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)
Diffstat (limited to 'dock_gui.c')
-rw-r--r-- | dock_gui.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/dock_gui.c b/dock_gui.c index aa51caeb0..6f3c556d0 100644 --- a/dock_gui.c +++ b/dock_gui.c @@ -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; |