# HG changeset patch # User rubidium # Date 2009-07-23 08:47:14 # Node ID 069be9651c2d97780de4eff95aa3115d5662c79d # Parent b14b8e966cd2d24c9d0d3c86a82c7d121b3ce6de (svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :) diff --git a/src/vehicle_cmd.cpp b/src/vehicle_cmd.cpp --- a/src/vehicle_cmd.cpp +++ b/src/vehicle_cmd.cpp @@ -172,7 +172,7 @@ CommandCost CmdDepotSellAllVehicles(Tile CommandCost cost(EXPENSES_NEW_VEHICLES); VehicleType vehicle_type = (VehicleType)GB(p1, 0, 8); - uint sell_command = GetCmdSendToDepot(vehicle_type);; + uint sell_command = GetCmdSellVeh(vehicle_type);; /* Get the list of vehicles in the depot */ BuildDepotVehicleList(vehicle_type, tile, &list, &list);