diff -r 0d713ced91d5 -r 0cca43840d61 train_cmd.c --- a/train_cmd.c Mon Jul 31 12:11:14 2006 +0000 +++ b/train_cmd.c Mon Jul 31 12:12:14 2006 +0000 @@ -1130,6 +1130,8 @@ src_head = src_head->next; } AddWagonToConsist(src->u.rail.other_multiheaded_part, src); + // previous line set the front engine to the old front. We need to clear that + src->u.rail.other_multiheaded_part->first = NULL; } if (HASBIT(p2, 0) && src_head != NULL && src_head != src) {