diff options
-rw-r--r-- | src/tree_gui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree_gui.cpp b/src/tree_gui.cpp index d02c55648..dd4beb46d 100644 --- a/src/tree_gui.cpp +++ b/src/tree_gui.cpp @@ -128,12 +128,12 @@ public: VpSetPlaceSizingLimit(20); } - virtual void OnPlaceDrag(ViewportPlaceMethod select_method, byte select_proc, Point pt) + virtual void OnPlaceDrag(ViewportPlaceMethod select_method, ViewportDragDropSelectionProcess select_proc, Point pt) { VpSelectTilesWithMethod(pt.x, pt.y, select_method); } - virtual void OnPlaceMouseUp(ViewportPlaceMethod select_method, byte select_proc, Point pt, TileIndex start_tile, TileIndex end_tile) + virtual void OnPlaceMouseUp(ViewportPlaceMethod select_method, ViewportDragDropSelectionProcess select_proc, Point pt, TileIndex start_tile, TileIndex end_tile) { if (pt.x != -1 && select_proc == DDSP_PLANT_TREES) { DoCommandP(end_tile, this->tree_to_plant, start_tile, NULL, |