diff --git a/src/Airports/GenAirports850/linearfeature.cxx b/src/Airports/GenAirports850/linearfeature.cxx index 63b734af..a2c6ca8b 100644 --- a/src/Airports/GenAirports850/linearfeature.cxx +++ b/src/Airports/GenAirports850/linearfeature.cxx @@ -604,6 +604,11 @@ int LinearFeature::Finish( bool closed, unsigned int idx ) cur_light_contour.SetType( "RWY_RED_LIGHTS" ); light_delta = 10.0f; break; + + default: + // catch unknown lighting type. Allows TerraGear to exit cleanly when it comes across new light features 107 and 108 + TG_LOG(SG_GENERAL, SG_ALERT, "LinearFeature::Finish: unknown lighting feature " << lights[i]->type ); + exit(1); } for (unsigned int j = lights[i]->start_idx; j <= lights[i]->end_idx; j++) diff --git a/src/Airports/GenAirports850/linearfeature.hxx b/src/Airports/GenAirports850/linearfeature.hxx index 4ccc34a0..0111e9d2 100644 --- a/src/Airports/GenAirports850/linearfeature.hxx +++ b/src/Airports/GenAirports850/linearfeature.hxx @@ -40,6 +40,8 @@ #define LF_UNIDIR_CLOSE_AMBER_PULSE (104) #define LF_BIDIR_GREEN_AMBER (105) #define LF_OMNIDIR_RED (106) +#define LF_OMNIDIR_GREEN (107) +#define LF_OMNIDIR_GREEN_AMBER (108) struct Marking {