summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-07-23 08:47:14 +0000
committerrubidium <rubidium@openttd.org>2009-07-23 08:47:14 +0000
commitfefc8809719a50e35143215d017400f26759eee9 (patch)
treee6981a6a8dc7a01866589d8b6454ae85c2afd5ed
parentf48cc9d4bf9c3b29a747c04ff72d2ed160609296 (diff)
downloadopenttd-fefc8809719a50e35143215d017400f26759eee9.tar.xz
(svn r16924) -Fix (r16922): selling or sending to depot, what's the difference? :)
-rw-r--r--src/vehicle_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
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);