changeset 4197 | 84acfde415e0 |
parent 4182 | 20d711816338 |
child 4198 | fcb0808731db |
--- a/train_cmd.c Sun Jul 30 14:58:17 2006 +0000 +++ b/train_cmd.c Sun Jul 30 22:43:50 2006 +0000 @@ -1156,6 +1156,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) {