diff --git a/src/tilehighlight_func.h b/src/tilehighlight_func.h index 3edef509a2..af44c4d88f 100644 --- a/src/tilehighlight_func.h +++ b/src/tilehighlight_func.h @@ -25,6 +25,7 @@ void ResetObjectToPlace(); void VpSelectTilesWithMethod(int x, int y, ViewportPlaceMethod method); void VpStartPlaceSizing(TileIndex tile, ViewportPlaceMethod method, ViewportDragDropSelectionProcess process); +void VpStartPreSizing(); void VpSetPresizeRange(TileIndex from, TileIndex to); void VpSetPlaceSizingLimit(int limit); diff --git a/src/viewport.cpp b/src/viewport.cpp index c3ccea8735..f6585d4779 100644 --- a/src/viewport.cpp +++ b/src/viewport.cpp @@ -2301,7 +2301,7 @@ void VpSetPresizeRange(TileIndex from, TileIndex to) if (distance > 1) ShowMeasurementTooltips(STR_MEASURE_LENGTH, 1, &distance, TCC_HOVER); } -static void VpStartPreSizing() +void VpStartPreSizing() { _thd.selend.x = -1; _special_mouse_mode = WSM_PRESIZE;