From aef674d858b0bea2d6ccc14de488cd6c9617f8c1 Mon Sep 17 00:00:00 2001 From: smatz Date: Mon, 15 Sep 2008 22:58:41 +0000 Subject: (svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too --- src/order_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/order_cmd.cpp') 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 */ -- cgit v1.2.3-70-g09d2