From fefc8809719a50e35143215d017400f26759eee9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 23 Jul 2009 08:47:14 +0000 Subject: (svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :) --- src/vehicle_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/vehicle_cmd.cpp') diff --git a/src/vehicle_cmd.cpp b/src/vehicle_cmd.cpp index 3fcb06034..0cc03b9fa 100644 --- a/src/vehicle_cmd.cpp +++ b/src/vehicle_cmd.cpp @@ -172,7 +172,7 @@ CommandCost CmdDepotSellAllVehicles(TileIndex tile, DoCommandFlag flags, uint32 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); -- cgit v1.2.3-54-g00ecf