diff options
author | smatz <smatz@openttd.org> | 2008-09-15 22:58:41 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-09-15 22:58:41 +0000 |
commit | 5f4ff33ce340fc71e17abbdede06226dd4e56a54 (patch) | |
tree | 45c367908e8900a20e722b7841e5eaf20df8cafd /src/order_cmd.cpp | |
parent | a20dae0df1614f8701c1ac3a20a64fe6fd4fda5d (diff) | |
download | openttd-5f4ff33ce340fc71e17abbdede06226dd4e56a54.tar.xz |
(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too
Diffstat (limited to 'src/order_cmd.cpp')
-rw-r--r-- | src/order_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/order_cmd.cpp b/src/order_cmd.cpp index d48d40462..689ca7cd5 100644 --- a/src/order_cmd.cpp +++ b/src/order_cmd.cpp @@ -1259,7 +1259,7 @@ void RestoreVehicleOrders(const Vehicle *v, const BackuppedOrders *bak) /* If we have a custom name, process that */ if (bak->name != NULL) { _cmd_text = bak->name; - DoCommandP(0, v->index, 0, NULL, CMD_NAME_VEHICLE); + DoCommandP(0, v->index, 0, NULL, CMD_RENAME_VEHICLE); } /* If we had shared orders, recover that */ |