From 4d14c1b534947ed38780995af4d68bd67b4ae095 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 2 Jul 2009 09:06:15 +0000 Subject: (svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions --- src/roadveh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/roadveh.h') 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 { * 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) -- cgit v1.2.3-54-g00ecf