From 101cae53ada85394449091c005ab20fee2cd9e83 Mon Sep 17 00:00:00 2001 From: Ralf Gerlich Date: Sat, 29 Mar 2008 13:01:43 +0100 Subject: [PATCH] Fixed taxiway drawing order. genapts wants them from top to bottom, not from bottom to top, as it was previously fed. --- src/Airports/GenAirports/build.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Airports/GenAirports/build.cxx b/src/Airports/GenAirports/build.cxx index 2bbef0fb..a83c67e9 100644 --- a/src/Airports/GenAirports/build.cxx +++ b/src/Airports/GenAirports/build.cxx @@ -609,12 +609,12 @@ void build_airport( string airport_id, float alt_m, } #else /* Ralf Gerlich: Generate Taxiways in specified order from bottom to top */ - for ( size_t i=0; i0; --i ) { SG_LOG( SG_GENERAL, SG_DEBUG, "generating " << i ); - build_runway( taxiways[i], alt_m, + build_runway( taxiways[i-1], alt_m, &rwy_polys, &texparams, &accum, &apt_base, &apt_clearing ); - taxiways[i].generated = true; + taxiways[i-1].generated = true; } #endif