summaryrefslogtreecommitdiff
path: root/src/vehicle_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-08-04 18:04:33 +0000
committerrubidium <rubidium@openttd.org>2009-08-04 18:04:33 +0000
commit4b2592dbc05e282a651b0cb2b65ff72deced3102 (patch)
tree0f1ea5a40e65705ced5b3daa2efeee06d616a489 /src/vehicle_cmd.cpp
parent16e89ac4d590c42eccdbec4725d9f98cd1bec694 (diff)
downloadopenttd-4b2592dbc05e282a651b0cb2b65ff72deced3102.tar.xz
(svn r17062) -Change: unify the naming of some 125 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 9ba2fc412..8c76b010e 100644
--- a/src/vehicle_cmd.cpp
+++ b/src/vehicle_cmd.cpp
@@ -221,7 +221,7 @@ CommandCost CmdDepotMassAutoReplace(TileIndex tile, DoCommandFlag flags, uint32
did_something = true;
cost.AddCost(ret);
} else {
- if (ret.GetErrorMessage() != STR_AUTOREPLACE_NOTHING_TO_DO && all_or_nothing) {
+ if (ret.GetErrorMessage() != STR_ERROR_AUTOREPLACE_NOTHING_TO_DO && all_or_nothing) {
/* We failed to replace a vehicle even though we set all or nothing.
* We should never reach this if DC_EXEC is set since then it should
* have failed the estimation guess. */