1
0
Fork 0

Only generate helipad lights if the apt.dat entry says so

This commit is contained in:
Christian Schmitt 2012-02-08 13:09:39 +01:00
parent 2dac4a87e5
commit a40b72b15b

View file

@ -129,9 +129,12 @@ void Helipad::BuildBtg( float alt_m,
*apt_base = tgPolygonUnion( base, *apt_base );
}
if (heli.edge_lights)
{
// Now generate the helipad lights
superpoly_list s = gen_helipad_lights();
for ( unsigned int i = 0; i < s.size(); ++i ) {
rwy_lights->push_back( s[i] );
}
}
}