(svn r14337) -Codechange: use CmdRename* and CMD_RENAME_* for vehicle, president and company renaming commands, too

This commit is contained in:
smatz
2008-09-15 22:58:41 +00:00
parent a20dae0df1
commit 5f4ff33ce3
9 changed files with 19 additions and 19 deletions

View File

@@ -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 */