diff options
author | rubidium <rubidium@openttd.org> | 2009-07-02 09:06:15 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-07-02 09:06:15 +0000 |
commit | 4d14c1b534947ed38780995af4d68bd67b4ae095 (patch) | |
tree | 5afca0f6bf0a5a885285f85755c0cdfa42c7d70f /src/roadstop.cpp | |
parent | 61e735ba4c62e578ca16f708ac1fdc872ff6416d (diff) | |
download | openttd-4d14c1b534947ed38780995af4d68bd67b4ae095.tar.xz |
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
Diffstat (limited to 'src/roadstop.cpp')
-rw-r--r-- | src/roadstop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadstop.cpp b/src/roadstop.cpp index 2baba198b..e1a44f9c3 100644 --- a/src/roadstop.cpp +++ b/src/roadstop.cpp @@ -40,7 +40,7 @@ RoadStop *RoadStop::GetNextRoadStop(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! */ return rs; |