1
0
Fork 0

Support new line features

This commit is contained in:
Scott Giese 2022-03-05 08:42:40 -06:00
parent c6ef571612
commit 45effdba78

View file

@ -764,7 +764,19 @@ int LinearFeature::Finish( bool closed, unsigned int idx )
cur_light_contour.SetType( "RWY_RED_LIGHTS" );
light_delta = 10.0f;
break;
case LF_UNIDIR_GREEN:
cur_light_contour.SetType( "RWY_GREEN_LIGHTS" );
light_delta = 10.0f;
break;
case LF_UNIDIR_GREEN_AMBER:
cur_light_contour.SetType( "RWY_GREEN_LIGHTS" );
alt_light_contour.SetType( "RWY_YELLOW_LIGHTS" );
light_delta = 10.0f;
alternate = true;
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 );