From 1990ce680654355a6a08bc72acaadbab3098171e Mon Sep 17 00:00:00 2001 From: Christian Schmitt Date: Thu, 6 Oct 2011 16:03:23 +0200 Subject: [PATCH] The size of the runway base should depend on the runway width --- src/Airports/GenAirports850/runway.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Airports/GenAirports850/runway.cxx b/src/Airports/GenAirports850/runway.cxx index 5046e00d..8212f526 100644 --- a/src/Airports/GenAirports850/runway.cxx +++ b/src/Airports/GenAirports850/runway.cxx @@ -179,10 +179,10 @@ int Runway::BuildBtg( float alt_m, superpoly_list* rwy_polys, texparams_list* te } // generate area around runways - base = gen_runway_area_w_extend( 0.0, 20.0, -rwy.overrun[0], -rwy.overrun[1], 20.0 ); + base = gen_runway_area_w_extend( 0.0, rwy.width * 0.25, -rwy.overrun[0], -rwy.overrun[1], rwy.width * 0.25); // also clear a safe area around the runway - safe_base = gen_runway_area_w_extend( 0.0, 180.0, -rwy.overrun[0], -rwy.overrun[1], 50.0 ); + safe_base = gen_runway_area_w_extend( 0.0, rwy.width, -rwy.overrun[0], -rwy.overrun[1], rwy.width ); // add this to the airport clearing *apt_clearing = tgPolygonUnion(safe_base, *apt_clearing);