summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/airport_gui.cpp2
-rw-r--r--src/dock_gui.cpp2
-rw-r--r--src/rail_gui.cpp2
-rw-r--r--src/road_gui.cpp2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/airport_gui.cpp b/src/airport_gui.cpp
index 0c903d242..5d982b04c 100644
--- a/src/airport_gui.cpp
+++ b/src/airport_gui.cpp
@@ -96,7 +96,7 @@ struct BuildAirToolbarWindow : Window {
break;
case ATW_DEMOLISH:
- HandlePlacePushButton(this, ATW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT, NULL);
+ HandlePlacePushButton(this, ATW_DEMOLISH, ANIMCURSOR_DEMOLISH, HT_RECT | HT_DIAGONAL, NULL);
this->last_user_action = widget;
break;
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
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;
diff --git a/src/road_gui.cpp b/src/road_gui.cpp
index 8205bc68c..2097991b6 100644
--- a/src/road_gui.cpp
+++ b/src/road_gui.cpp
@@ -401,7 +401,7 @@ struct BuildRoadToolbarWindow : 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_started_action = widget;
break;