mirror of https://github.com/OpenTTD/OpenTTD
(svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :)
parent
f48cc9d4bf
commit
fefc880971
|
@ -172,7 +172,7 @@ CommandCost CmdDepotSellAllVehicles(TileIndex tile, DoCommandFlag flags, uint32
|
||||||
|
|
||||||
CommandCost cost(EXPENSES_NEW_VEHICLES);
|
CommandCost cost(EXPENSES_NEW_VEHICLES);
|
||||||
VehicleType vehicle_type = (VehicleType)GB(p1, 0, 8);
|
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 */
|
/* Get the list of vehicles in the depot */
|
||||||
BuildDepotVehicleList(vehicle_type, tile, &list, &list);
|
BuildDepotVehicleList(vehicle_type, tile, &list, &list);
|
||||||
|
|
Loading…
Reference in New Issue