diff options
author | rubidium <rubidium@openttd.org> | 2007-07-24 17:01:23 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-24 17:01:23 +0000 |
commit | 5d3f058b65c97b61709061b721d1ad6922dbc9ef (patch) | |
tree | 08ce082e1855582f3c9d1c228a0928e71c054c80 /src/roadveh.h | |
parent | 0d9a51de6ddc432e3d48bf5f2ff5027067273f2c (diff) | |
download | openttd-5d3f058b65c97b61709061b721d1ad6922dbc9ef.tar.xz |
(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
Diffstat (limited to 'src/roadveh.h')
-rw-r--r-- | src/roadveh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/roadveh.h b/src/roadveh.h index 59097d177..a66c01263 100644 --- a/src/roadveh.h +++ b/src/roadveh.h @@ -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; } |