src/roadveh.h
changeset 7492 35acee076719
parent 7490 bb27d92565d3
child 7548 3a679b6e8b30
--- a/src/roadveh.h	Thu Aug 30 12:10:32 2007 +0000
+++ b/src/roadveh.h	Thu Aug 30 13:03:56 2007 +0000
@@ -41,7 +41,7 @@
 static inline bool RoadVehHasArticPart(const Vehicle *v)
 {
 	assert(v->type == VEH_ROAD);
-	return v->next != NULL && IsRoadVehArticPart(v->next);
+	return v->Next() != NULL && IsRoadVehArticPart(v->Next());
 }