src/order_cmd.cpp
changeset 10151 0dd6c35bf0cc
parent 10133 555419932fe2
child 10184 bf4e3ff4cf16
--- a/src/order_cmd.cpp	Mon Sep 15 22:45:18 2008 +0000
+++ b/src/order_cmd.cpp	Mon Sep 15 22:58:41 2008 +0000
@@ -1259,7 +1259,7 @@
 	/* 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 */