Only generate helipad lights if the apt.dat entry says so
This commit is contained in:
parent
2dac4a87e5
commit
a40b72b15b
1 changed files with 7 additions and 4 deletions
|
@ -129,9 +129,12 @@ void Helipad::BuildBtg( float alt_m,
|
||||||
*apt_base = tgPolygonUnion( base, *apt_base );
|
*apt_base = tgPolygonUnion( base, *apt_base );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (heli.edge_lights)
|
||||||
|
{
|
||||||
// Now generate the helipad lights
|
// Now generate the helipad lights
|
||||||
superpoly_list s = gen_helipad_lights();
|
superpoly_list s = gen_helipad_lights();
|
||||||
for ( unsigned int i = 0; i < s.size(); ++i ) {
|
for ( unsigned int i = 0; i < s.size(); ++i ) {
|
||||||
rwy_lights->push_back( s[i] );
|
rwy_lights->push_back( s[i] );
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue