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

Method MakeConditional

src/order_cmd.cpp:126–131  ·  view source on GitHub ↗

* Makes this order an conditional order. * @param order the order to jump to. */

Source from the content-addressed store, hash-verified

124 * @param order the order to jump to.
125 */
126void Order::MakeConditional(VehicleOrderID order)
127{
128 this->type = OT_CONDITIONAL;
129 this->flags = order;
130 this->dest = 0;
131}
132
133/**
134 * Makes this order an implicit order.

Callers 2

OnClickMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected