order_cmd.c
changeset 1820 d03c56850dc2
parent 1796 614d996f6be7
child 1881 435d39bd6ee0
equal deleted inserted replaced
1819:b352924c4a27 1820:d03c56850dc2
   756 {
   756 {
   757 	uint i;
   757 	uint i;
   758 
   758 
   759 	/* If we have a custom name, process that */
   759 	/* If we have a custom name, process that */
   760 	if (bak->name[0] != 0) {
   760 	if (bak->name[0] != 0) {
   761 		strcpy((char*)_decode_parameters, bak->name);
   761 		_cmd_text = bak->name;
   762 		DoCommandP(0, v->index, 0, NULL, CMD_NAME_VEHICLE);
   762 		DoCommandP(0, v->index, 0, NULL, CMD_NAME_VEHICLE);
   763 	}
   763 	}
   764 
   764 
   765 	/* If we had shared orders, recover that */
   765 	/* If we had shared orders, recover that */
   766 	if (bak->clone != INVALID_VEHICLE) {
   766 	if (bak->clone != INVALID_VEHICLE) {