(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
This commit is contained in:
@@ -44,13 +44,13 @@ static inline bool RoadVehHasArticPart(const Vehicle *v)
|
||||
}
|
||||
|
||||
|
||||
static inline bool IsRoadVehInDepot(const Vehicle* v)
|
||||
static inline bool IsRoadVehInDepot(const Vehicle *v)
|
||||
{
|
||||
assert(v->type == VEH_ROAD);
|
||||
return v->u.road.state == 254;
|
||||
}
|
||||
|
||||
static inline bool IsRoadVehInDepotStopped(const Vehicle* v)
|
||||
static inline bool IsRoadVehInDepotStopped(const Vehicle *v)
|
||||
{
|
||||
return IsRoadVehInDepot(v) && v->vehstatus & VS_STOPPED;
|
||||
}
|
||||
|
Reference in New Issue
Block a user