From ea4b40704b351de69cff4a6beaa4cf526f18bb9b Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 8 Sep 2010 21:02:12 +0000 Subject: (svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot --- src/ai/api/ai_vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ai') diff --git a/src/ai/api/ai_vehicle.cpp b/src/ai/api/ai_vehicle.cpp index e62cb585b..bb4f756af 100644 --- a/src/ai/api/ai_vehicle.cpp +++ b/src/ai/api/ai_vehicle.cpp @@ -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) -- cgit v1.2.3-54-g00ecf