(svn r21926) -Fix [FS#4450](r21924): v != w.

This commit is contained in:
frosch 2011-01-29 23:42:40 +00:00
parent eea2f90da7
commit f48838ef3f
1 changed files with 2 additions and 2 deletions

View File

@ -786,8 +786,8 @@ CommandCost CmdCloneVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
}
}
if (w->IsGroundVehicle() && w->HasArticulatedPart()) {
w = w->GetNextArticulatedPart();
if (v->IsGroundVehicle() && v->HasArticulatedPart()) {
v = v->GetNextArticulatedPart();
} else {
break;
}