summaryrefslogtreecommitdiff
path: root/src/vehicle_cmd.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-08-18 00:30:12 +0000
committeryexo <yexo@openttd.org>2010-08-18 00:30:12 +0000
commiteeca1846d6bc6d7032a2084951ec7400dc56ad25 (patch)
tree615e5b847f151e5d8e696f31211b9a3a031ce39d /src/vehicle_cmd.cpp
parent9b8d7048da4c078a0b8d58daf38db04b5cfce114 (diff)
downloadopenttd-eeca1846d6bc6d7032a2084951ec7400dc56ad25.tar.xz
(svn r20534) -Codechange: unify the naming of the 'vehicle must be stopped in depot' strings
Diffstat (limited to 'src/vehicle_cmd.cpp')
-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 ad6fb7010..5cff7a90f 100644
--- a/src/vehicle_cmd.cpp
+++ b/src/vehicle_cmd.cpp
@@ -174,7 +174,7 @@ CommandCost CmdSellVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1, uint3
if (front->vehstatus & VS_CRASHED) return_cmd_error(STR_ERROR_VEHICLE_IS_DESTROYED);
- if (!front->IsStoppedInDepot()) return_cmd_error(STR_TRAIN_MUST_BE_STOPPED + front->type);
+ if (!front->IsStoppedInDepot()) return_cmd_error(STR_ERROR_TRAIN_MUST_BE_STOPPED_INSIDE_DEPOT + front->type);
if (v->type == VEH_TRAIN) {
ret = CmdSellRailWagon(flags, v, GB(p1, 16, 16));