From 6acccb9044a6495b78bd7a85dd84ae90aee87f94 Mon Sep 17 00:00:00 2001 From: John Taylor Date: Fri, 21 Mar 2025 10:50:34 +0100 Subject: [PATCH] Fix #13600: Added diagonal terraforming to scenario editor --- src/terraform_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp index 203a995b21..5b8e54c021 100644 --- a/src/terraform_gui.cpp +++ b/src/terraform_gui.cpp @@ -584,12 +584,12 @@ struct ScenarioEditorLandscapeGenerationWindow : Window { break; case WID_ETT_LOWER_LAND: // Lower land button - HandlePlacePushButton(this, WID_ETT_LOWER_LAND, ANIMCURSOR_LOWERLAND, HT_POINT); + HandlePlacePushButton(this, WID_ETT_LOWER_LAND, ANIMCURSOR_LOWERLAND, HT_POINT | HT_DIAGONAL); this->last_user_action = widget; break; case WID_ETT_RAISE_LAND: // Raise land button - HandlePlacePushButton(this, WID_ETT_RAISE_LAND, ANIMCURSOR_RAISELAND, HT_POINT); + HandlePlacePushButton(this, WID_ETT_RAISE_LAND, ANIMCURSOR_RAISELAND, HT_POINT | HT_DIAGONAL); this->last_user_action = widget; break;