diff options
author | rubidium <rubidium@openttd.org> | 2007-03-08 16:27:54 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-08 16:27:54 +0000 |
commit | ce919e8c719f0f698ac86dcaa528368316f2e52d (patch) | |
tree | e32a4dc6207efbaacc5af4e5c41a353b98b9a897 /src/aircraft.h | |
parent | aca3fb2b6ef69ae571b167d3071edd46d0ed383c (diff) | |
download | openttd-ce919e8c719f0f698ac86dcaa528368316f2e52d.tar.xz |
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
Diffstat (limited to 'src/aircraft.h')
-rw-r--r-- | src/aircraft.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/aircraft.h b/src/aircraft.h index 3acb7babf..0e0cd76ad 100644 --- a/src/aircraft.h +++ b/src/aircraft.h @@ -23,7 +23,7 @@ enum AircraftSubType { * false if it is a shadow or a rotor) */ static inline bool IsNormalAircraft(const Vehicle *v) { - assert(v->type == VEH_Aircraft); + assert(v->type == VEH_AIRCRAFT); /* To be fully correct the commented out functionality is the proper one, * but since value can only be 0 or 2, it is sufficient to only check <= 2 * return (v->subtype == AIR_HELICOPTER) || (v->subtype == AIR_AIRCRAFT); */ @@ -33,7 +33,7 @@ static inline bool IsNormalAircraft(const Vehicle *v) static inline bool IsAircraftInHangar(const Vehicle* v) { - assert(v->type == VEH_Aircraft); + assert(v->type == VEH_AIRCRAFT); return v->vehstatus & VS_HIDDEN && IsHangarTile(v->tile); } |