mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-06-29 16:40:25 +01:00
(svn r21926) -Fix [FS#4450](r21924): v != w.
This commit is contained in:
parent
eea2f90da7
commit
f48838ef3f
@ -786,8 +786,8 @@ CommandCost CmdCloneVehicle(TileIndex tile, DoCommandFlag flags, uint32 p1, uint
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (w->IsGroundVehicle() && w->HasArticulatedPart()) {
|
if (v->IsGroundVehicle() && v->HasArticulatedPart()) {
|
||||||
w = w->GetNextArticulatedPart();
|
v = v->GetNextArticulatedPart();
|
||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user