From ce919e8c719f0f698ac86dcaa528368316f2e52d Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 8 Mar 2007 16:27:54 +0000 Subject: (svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code). --- src/aircraft.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/aircraft.h') 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); } -- cgit v1.2.3-70-g09d2