summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-04-21 20:20:53 +0000
committerrubidium <rubidium@openttd.org>2009-04-21 20:20:53 +0000
commit2ec09d95a1c80de28d117e1905bab514ccb90b0c (patch)
treedd3c17139abb313cf267099ac8983ec711f39b19 /src/vehicle.cpp
parent3949050714463bf13ffb6da231019de6db22a8e5 (diff)
downloadopenttd-2ec09d95a1c80de28d117e1905bab514ccb90b0c.tar.xz
(svn r16114) -Cleanup: unify some more strings and remove some more unused strings
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 877be0299..488621b70 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -1609,7 +1609,7 @@ CommandCost Vehicle::SendToDepot(DoCommandFlag flags, DepotCommand command)
TileIndex location;
DestinationID destination;
bool reverse;
- static const StringID no_depot[] = {STR_883A_UNABLE_TO_FIND_ROUTE_TO, STR_9019_UNABLE_TO_FIND_LOCAL_DEPOT, STR_981A_UNABLE_TO_FIND_LOCAL_DEPOT, STR_A012_CAN_T_SEND_AIRCRAFT_TO};
+ static const StringID no_depot[] = {STR_883A_UNABLE_TO_FIND_ROUTE_TO, STR_9019_UNABLE_TO_FIND_LOCAL_DEPOT, STR_9019_UNABLE_TO_FIND_LOCAL_DEPOT, STR_A012_CAN_T_SEND_AIRCRAFT_TO};
if (!this->FindClosestDepot(&location, &destination, &reverse)) return_cmd_error(no_depot[this->type]);
if (flags & DC_EXEC) {