From 3a1709b31adddebe3e3634f22cf2dc461f7f9bbd Mon Sep 17 00:00:00 2001
From: Christian Schmitt <chris@ilovelinux.de>
Date: Sun, 24 Feb 2013 22:18:49 +0100
Subject: [PATCH] apt_loader.cxx: 810 helipads are now treated as such
 internally

---
 src/Airports/apt_loader.cxx | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/Airports/apt_loader.cxx b/src/Airports/apt_loader.cxx
index f03a253fa..fc4b0b1ed 100644
--- a/src/Airports/apt_loader.cxx
+++ b/src/Airports/apt_loader.cxx
@@ -292,10 +292,13 @@ private:
 
     int surface_code = atoi( token[10].c_str() );
     SGGeod pos(SGGeod::fromDegFt(lon, lat, last_apt_elev));
-    
-    if (rwy_no[0] == 'x') {
-      cache->insertRunway(FGPositioned::TAXIWAY,rwy_no, pos, currentAirportID,
-                          heading, length, width, 0, 0, surface_code);
+
+    if (rwy_no[0] == 'x') {  // Taxiway
+      cache->insertRunway(FGPositioned::TAXIWAY, rwy_no, pos, currentAirportID,
+                          heading, length, width, 0.0, 0.0, surface_code);
+    } else if (rwy_no[0] == 'H') {  // Helipad
+      cache->insertRunway(FGPositioned::HELIPAD, rwy_no, pos, currentAirportID,
+                          heading, length, width, 0.0, 0.0, surface_code);
     } else {
       // (pair of) runways
       string rwy_displ_threshold = token[6];