diff --git a/src/order_gui.cpp b/src/order_gui.cpp --- a/src/order_gui.cpp +++ b/src/order_gui.cpp @@ -356,7 +356,7 @@ static bool HandleOrderVehClick(const Ve if (u->type != v->type) return false; if (u->HasFront() && !u->IsPrimaryVehicle()) { - u = GetFirstVehicleInChain(u); + u = u->First(); if (!u->IsPrimaryVehicle()) return false; }