From 61e735ba4c62e578ca16f708ac1fdc872ff6416d Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 2 Jul 2009 08:59:27 +0000 Subject: (svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle. --- src/station.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/station.cpp') diff --git a/src/station.cpp b/src/station.cpp index 8f8e884d9..6a0cc3c31 100644 --- a/src/station.cpp +++ b/src/station.cpp @@ -121,7 +121,7 @@ RoadStop *Station::GetPrimaryRoadStop(const RoadVehicle *v) const /* The vehicle cannot go to this roadstop (different roadtype) */ if ((GetRoadTypes(rs->xy) & v->compatible_roadtypes) == ROADTYPES_NONE) continue; /* The vehicle is articulated and can therefor not go the a standard road stop */ - if (IsStandardRoadStopTile(rs->xy) && RoadVehHasArticPart(v)) continue; + if (IsStandardRoadStopTile(rs->xy) && v->RoadVehHasArticPart()) continue; /* The vehicle can actually go to this road stop. So, return it! */ break; -- cgit v1.2.3-54-g00ecf