diff options
author | rubidium <rubidium@openttd.org> | 2010-09-08 21:02:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-09-08 21:02:12 +0000 |
commit | ea4b40704b351de69cff4a6beaa4cf526f18bb9b (patch) | |
tree | 1e52f45f4b9c8eb28e73a845946519c5074e0571 /src/ai/api/ai_vehicle.cpp | |
parent | 9badab6454d18378fc81962c8883e9594b968276 (diff) | |
download | openttd-ea4b40704b351de69cff4a6beaa4cf526f18bb9b.tar.xz |
(svn r20769) -Codechange: move some depot flags from p2 to p1 in CmdSendVehicleToDepot
Diffstat (limited to 'src/ai/api/ai_vehicle.cpp')
-rw-r--r-- | src/ai/api/ai_vehicle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) |