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

Method Free

src/order_cmd.cpp:47–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 * @note ONLY use on "current_order" vehicle orders!
46 */
47void Order::Free()
48{
49 this->type = OT_NOTHING;
50 this->flags = 0;
51 this->dest = 0;
52}
53
54/**
55 * Makes this order a Go To Station order.

Callers 9

UpdateOrderDestFunction · 0.45
ProcessOrdersFunction · 0.45
ShipControllerFunction · 0.45
GetOrderCmdFromTileFunction · 0.45
TrainLocoHandlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected