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

Method MoveSign

src/waypoint_cmd.cpp:65–70  ·  view source on GitHub ↗

* Move the waypoint main coordinate somewhere else. * @param new_xy new tile location of the sign */

Source from the content-addressed store, hash-verified

63 * @param new_xy new tile location of the sign
64 */
65void Waypoint::MoveSign(TileIndex new_xy)
66{
67 if (this->xy == new_xy) return;
68
69 this->BaseStation::MoveSign(new_xy);
70}
71
72/**
73 * Find a deleted waypoint close to a tile.

Callers 1

CmdMoveWaypointNameFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected