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/roadveh.h | |
parent | 61e735ba4c62e578ca16f708ac1fdc872ff6416d (diff) | |
download | openttd-4d14c1b534947ed38780995af4d68bd67b4ae095.tar.xz |
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
Diffstat (limited to 'src/roadveh.h')
-rw-r--r-- | src/roadveh.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/roadveh.h b/src/roadveh.h index 708fedb5c..9945635aa 100644 --- a/src/roadveh.h +++ b/src/roadveh.h @@ -151,7 +151,7 @@ struct RoadVehicle : public SpecializedVehicle<RoadVehicle, VEH_ROAD> { * Check if an engine has an articulated part. * @return True if the engine has an articulated part. */ - FORCEINLINE bool RoadVehHasArticPart() const { return this->Next() != NULL && this->Next()->IsArticulatedPart(); } + FORCEINLINE bool HasArticulatedPart() const { return this->Next() != NULL && this->Next()->IsArticulatedPart(); } }; #define FOR_ALL_ROADVEHICLES(var) FOR_ALL_VEHICLES_OF_TYPE(RoadVehicle, var) |