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

Method OnPlaceObject

src/town_gui.cpp:1322–1325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1320 }
1321
1322 void OnPlaceObject([[maybe_unused]] Point pt, TileIndex tile) override
1323 {
1324 this->ExecuteFoundTownCommand(tile, false, STR_ERROR_CAN_T_FOUND_TOWN_HERE, CcFoundTown);
1325 }
1326
1327 void OnPlaceObjectAbort() override
1328 {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected