diff --git a/src/unmovable_cmd.cpp b/src/unmovable_cmd.cpp --- a/src/unmovable_cmd.cpp +++ b/src/unmovable_cmd.cpp @@ -152,7 +152,7 @@ CommandCost CmdPurchaseLandArea(TileInde } cost = DoCommand(tile, 0, 0, flags, CMD_LANDSCAPE_CLEAR); - if (cost.Failed()) return CMD_ERROR; + if (cost.Failed()) return cost; if (flags & DC_EXEC) { MakeOwnedLand(tile, _current_company);