diff options
-rw-r--r-- | src/terraform_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<CommandCost, Money, TileIndex> 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)) { |