summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2012-04-17 19:43:57 +0000
committermichi_cc <michi_cc@openttd.org>2012-04-17 19:43:57 +0000
commited565853889679a409d601a61d661718ac3498cc (patch)
tree1c9c5cbf42dc7eb9a055cb26196f229b926f8355
parentf3e295b4ec077f3f0ee9b82e12cb9c8eb5ceffc4 (diff)
downloadopenttd-ed565853889679a409d601a61d661718ac3498cc.tar.xz
(svn r24135) -Remove [FS#4757]: Tree drag size limit.
-rw-r--r--src/tree_gui.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp
index 305b4b4d5..60dcde6e4 100644
--- a/src/tree_gui.cpp
+++ b/src/tree_gui.cpp
@@ -145,8 +145,7 @@ public:
virtual void OnPlaceObject(Point pt, TileIndex tile)
{
- VpStartPlaceSizing(tile, VPM_X_AND_Y_LIMITED, DDSP_PLANT_TREES);
- VpSetPlaceSizingLimit(20);
+ VpStartPlaceSizing(tile, VPM_X_AND_Y, DDSP_PLANT_TREES);
}
virtual void OnPlaceDrag(ViewportPlaceMethod select_method, ViewportDragDropSelectionProcess select_proc, Point pt)