branch | NewGRF_ports |
changeset 6868 | 7eb395287b3d |
parent 6743 | cabfaa4a0295 |
child 6870 | ca3fd1fbe311 |
--- a/src/order_gui.cpp Mon Aug 27 16:28:33 2007 +0000 +++ b/src/order_gui.cpp Sun Sep 02 11:58:58 2007 +0000 @@ -356,7 +356,7 @@ if (u->type != v->type) return false; if (u->HasFront() && !u->IsPrimaryVehicle()) { - u = GetFirstVehicleInChain(u); + u = u->First(); if (!u->IsPrimaryVehicle()) return false; }