1
0
Fork 0

Ahh, there is a runway type "G" ...

This commit is contained in:
curt 2000-08-26 01:02:30 +00:00
parent de4f235115
commit e2ab3bff48

View file

@ -1635,6 +1635,8 @@ void build_airport( string airport_raw, string_list& runways_raw,
material = "pc_"; // concrete material = "pc_"; // concrete
} else if ( surface_flag == "D" ) { } else if ( surface_flag == "D" ) {
material = "dirt_rwy"; material = "dirt_rwy";
} else if ( surface_flag == "G" ) {
material = "grass_rwy";
} else if ( surface_flag == "T" ) { } else if ( surface_flag == "T" ) {
material = "grass_rwy"; material = "grass_rwy";
} else { } else {
@ -1645,7 +1647,9 @@ void build_airport( string airport_raw, string_list& runways_raw,
string type_flag = runways[i].surface_flags.substr(2, 1); string type_flag = runways[i].surface_flags.substr(2, 1);
cout << "type flag = " << type_flag << endl; cout << "type flag = " << type_flag << endl;
if ( surface_flag == "D" || surface_flag == "T" ) { if ( surface_flag == "D" || surface_flag == "G" ||
surface_flag == "T" )
{
gen_simple_rwy( runways[i], material, gen_simple_rwy( runways[i], material,
&rwy_polys, &texparams, &accum ); &rwy_polys, &texparams, &accum );
} else if ( type_flag == "P" ) { } else if ( type_flag == "P" ) {