diff options
-rw-r--r-- | src/terraform_cmd.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/terraform_cmd.cpp b/src/terraform_cmd.cpp index fd91f4d3a..67fadf6d7 100644 --- a/src/terraform_cmd.cpp +++ b/src/terraform_cmd.cpp @@ -453,7 +453,10 @@ CommandCost CmdLevelLand(TileIndex tile, DoCommandFlag flags, uint32 p1, uint32 * when it's near the terraforming limit. Even then, the estimation is * completely off due to it basically counting terraforming double, so it being * cut off earlier might even give a better estimate in some cases. */ - if (--limit <= 0) break; + if (--limit <= 0) { + had_success = true; + break; + } } cost.AddCost(ret); |