MCPcopy Create free account
hub / github.com/OpenTTD/OpenTTD / OnPlaceMouseUp

Method OnPlaceMouseUp

src/airport_gui.cpp:169–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167 }
168
169 void OnPlaceMouseUp([[maybe_unused]] ViewportPlaceMethod select_method, ViewportDragDropSelectionProcess select_proc, [[maybe_unused]] Point pt, TileIndex start_tile, TileIndex end_tile) override
170 {
171 if (pt.x != -1 && select_proc == DDSP_DEMOLISH_AREA) {
172 GUIPlaceProcDragXY(select_proc, start_tile, end_tile);
173 }
174 }
175
176 void OnPlaceObjectAbort() override
177 {

Callers

nothing calls this directly

Calls 1

GUIPlaceProcDragXYFunction · 0.85

Tested by

no test coverage detected