mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-27 08:29:11 +00:00
(svn r21926) -Fix [FS#4450](r21924): v != w.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user