(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions

This commit is contained in:
rubidium
2009-07-02 09:06:15 +00:00
parent f97bd41ed4
commit 18fbe0aac4
13 changed files with 26 additions and 26 deletions

View File

@@ -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) && v->RoadVehHasArticPart()) continue;
if (IsStandardRoadStopTile(rs->xy) && v->HasArticulatedPart()) continue;
/* The vehicle can actually go to this road stop. So, return it! */
break;