diff options
author | rubidium <rubidium@openttd.org> | 2008-05-08 13:30:50 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-05-08 13:30:50 +0000 |
commit | 2c5db97704787a14ba33daf55845987d6a9d8da4 (patch) | |
tree | c1bcbc43482bbdf8dfd064372b0c751bbd3a0a87 /src/rail_gui.cpp | |
parent | 0c30e46c9cc4312525f02494099615cb67a5f42b (diff) | |
download | openttd-2c5db97704787a14ba33daf55845987d6a9d8da4.tar.xz |
(svn r13011) -Codechange: move PlaceProc_BuyLand out of rail_gui.cpp to the place where it is used and remove some unneeded globalisations of some other PlaceProc functions.
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r-- | src/rail_gui.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp index a15e86382..2354689b3 100644 --- a/src/rail_gui.cpp +++ b/src/rail_gui.cpp @@ -251,11 +251,6 @@ static void PlaceRail_Tunnel(TileIndex tile) CMD_BUILD_TUNNEL | CMD_MSG(STR_5016_CAN_T_BUILD_TUNNEL_HERE)); } -void PlaceProc_BuyLand(TileIndex tile) -{ - DoCommandP(tile, 0, 0, CcPlaySound1E, CMD_PURCHASE_LAND_AREA | CMD_NO_WATER | CMD_MSG(STR_5806_CAN_T_PURCHASE_THIS_LAND)); -} - static void PlaceRail_ConvertRail(TileIndex tile) { VpStartPlaceSizing(tile, VPM_X_AND_Y, DDSP_CONVERT_RAIL); |