(svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot

This commit is contained in:
rubidium
2010-09-08 21:02:12 +00:00
parent db3a6485d7
commit 56ebc2359e
6 changed files with 26 additions and 25 deletions

View File

@@ -170,7 +170,7 @@
{
EnforcePrecondition(false, IsValidVehicle(vehicle_id));
return AIObject::DoCommand(0, vehicle_id, DEPOT_SERVICE, GetCmdSendToDepot(::Vehicle::Get(vehicle_id)));
return AIObject::DoCommand(0, vehicle_id | DEPOT_SERVICE, 0, GetCmdSendToDepot(::Vehicle::Get(vehicle_id)));
}
/* static */ bool AIVehicle::IsInDepot(VehicleID vehicle_id)