summaryrefslogtreecommitdiff
path: root/src/dock_gui.cpp
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2010-12-23 14:38:01 +0000
committeralberth <alberth@openttd.org>2010-12-23 14:38:01 +0000
commit802ec80c5d399aa953344636005ed26286317fb7 (patch)
tree82576410fc9f20d978c618793391c1ec1e160059 /src/dock_gui.cpp
parent90780fd25bab45fb97304337f10b78c9210a7190 (diff)
downloadopenttd-802ec80c5d399aa953344636005ed26286317fb7.tar.xz
(svn r21609) -Fix (r21545,r21552,r21580,r21586): Restore diagonal clearing of areas.
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r--src/dock_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp
index 2255797d3..efed01ece 100644
--- a/src/dock_gui.cpp
+++ b/src/dock_gui.cpp
@@ -142,7 +142,7 @@ struct BuildDocksToolbarWindow : Window {
break;
case DTW_DEMOLISH: // Demolish aka dynamite button
- HandlePlacePushButton(this, DTW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT, NULL);
+ HandlePlacePushButton(this, DTW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT | HT_DIAGONAL, NULL);
break;
case DTW_DEPOT: // Build depot button