mirror of https://github.com/OpenTTD/OpenTTD
(svn r12668) -Fix (12667): swapping of variables went wrong.
parent
ac94b6384b
commit
8410bff078
|
@ -96,8 +96,8 @@ void Order::MakeDummy()
|
||||||
void Order::MakeConditional(VehicleOrderID order)
|
void Order::MakeConditional(VehicleOrderID order)
|
||||||
{
|
{
|
||||||
this->type = OT_CONDITIONAL;
|
this->type = OT_CONDITIONAL;
|
||||||
this->flags = 0;
|
this->flags = order;
|
||||||
this->dest = order;
|
this->dest = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Order::SetRefit(CargoID cargo, byte subtype)
|
void Order::SetRefit(CargoID cargo, byte subtype)
|
||||||
|
|
Loading…
Reference in New Issue