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