author | maedhros |
Sun, 27 May 2007 05:32:37 +0000 | |
changeset 6721 | bf2931e39754 |
parent 6720 | 34eab44fd841 |
child 6722 | 8d6caeac4983 |
src/vehicle.cpp | file | annotate | diff | comparison | revisions |
--- a/src/vehicle.cpp Sun May 27 01:59:07 2007 +0000 +++ b/src/vehicle.cpp Sun May 27 05:32:37 2007 +0000 @@ -1794,7 +1794,7 @@ v = v_front; do { - if (IsMultiheaded(v) && !IsTrainEngine(v)) { + if (v->type == VEH_TRAIN && IsMultiheaded(v) && !IsTrainEngine(v)) { /* we build the rear ends of multiheaded trains with the front ones */ continue; }