diff options
author | rubidium <rubidium@openttd.org> | 2007-08-31 20:03:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-31 20:03:50 +0000 |
commit | 5243d98761e20e51eb48279a226a21a86c5bb59e (patch) | |
tree | 415396983bfb3bebc07546a999219c6403a98422 /src/clear_cmd.cpp | |
parent | c649f8e3cdda21153e838b23492fa1bdfc155691 (diff) | |
download | openttd-5243d98761e20e51eb48279a226a21a86c5bb59e.tar.xz |
(svn r11024) -Fix [FS#1173]: give a more correct error when building some things on tile 0; "Can't build on water" or "Too close to the edge" instead of "Vehicle in the way". Patch by SmatZ.
Diffstat (limited to 'src/clear_cmd.cpp')
-rw-r--r-- | src/clear_cmd.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp index 793497703..c89e5c6cb 100644 --- a/src/clear_cmd.cpp +++ b/src/clear_cmd.cpp @@ -403,8 +403,6 @@ CommandCost CmdPurchaseLandArea(TileIndex tile, uint32 flags, uint32 p1, uint32 SET_EXPENSES_TYPE(EXPENSES_CONSTRUCTION); - if (!EnsureNoVehicle(tile)) return CMD_ERROR; - if (IsOwnedLandTile(tile) && IsTileOwner(tile, _current_player)) { return_cmd_error(STR_5807_YOU_ALREADY_OWN_IT); } |