From 8c85125fd9c06d1470f02e807bf359329338f97b Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 31 Aug 2007 20:03:50 +0000 Subject: (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. --- src/clear_cmd.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/clear_cmd.cpp') 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); } -- cgit v1.2.3-70-g09d2