diff options
author | alberth <alberth@openttd.org> | 2010-12-23 14:38:01 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2010-12-23 14:38:01 +0000 |
commit | 802ec80c5d399aa953344636005ed26286317fb7 (patch) | |
tree | 82576410fc9f20d978c618793391c1ec1e160059 /src/rail_gui.cpp | |
parent | 90780fd25bab45fb97304337f10b78c9210a7190 (diff) | |
download | openttd-802ec80c5d399aa953344636005ed26286317fb7.tar.xz |
(svn r21609) -Fix (r21545,r21552,r21580,r21586): Restore diagonal clearing of areas.
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index 7f76be973..4699270b8 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -540,7 +540,7 @@ struct BuildRailToolbarWindow : Window { break; case RTW_DEMOLISH: - HandlePlacePushButton(this, RTW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT, NULL); + HandlePlacePushButton(this, RTW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT | HT_DIAGONAL, NULL); this->last_user_action = widget; break; |