From 2938ef5cf8d24a7c2db18de842fcd21ca3aebcb0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Sun, 16 Jan 2022 21:48:10 +0100 Subject: whatever - does not help anyways --- src/terraform_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/terraform_cmd.cpp b/src/terraform_cmd.cpp index c6c43799a..d1ed0d760 100644 --- a/src/terraform_cmd.cpp +++ b/src/terraform_cmd.cpp @@ -251,7 +251,7 @@ std::tuple CmdTerraformLand(DoCommandFlag flags, if (pass == 0) { /* Terrafrom enable only top layer */ if (IsUnderground(tile)) { - return_cmd_error(STR_ERROR_UNDERGROUND_CAN_T_TERRAFORM); + return { CommandCost(STR_ERROR_UNDERGROUND_CAN_T_TERRAFORM), 0, tile }; } /* Check if bridge would take damage */ if (IsBridgeAbove(t)) { -- cgit v1.2.3-70-g09d2