--- /media/foreign/cvs-flightgear/source/src/Airports/runways.cxx	2007-09-11 09:40:53.000000000 +0200
+++ src/Airports/runways.cxx	2007-09-18 16:23:38.000000000 +0200
@@ -240,7 +240,7 @@
         // SG_LOG( SG_GENERAL, SG_INFO,
         //	   "Runway " << tmp_r._rwy_no << " heading = "
 	//         << tmp_r._heading << " diff = " << diff );
-	if ( diff < min_diff ) {
+	if ((diff < min_diff)&&(tmp_r._type != "taxiway")) {
 	    min_diff = diff;
 	    r = tmp_r;
 	    found_dir = 0;
@@ -255,7 +255,7 @@
         //	   "Runway -" << tmp_r._rwy_no << " heading = " <<
         //	   tmp_r._heading + 180.0 <<
         //	   " diff = " << diff );
-	if ( diff < min_diff ) {
+	if ((diff < min_diff)&&(tmp_r._type != "taxiway")) {
 	    min_diff = diff;
 	    r = tmp_r;
 	    found_dir = 180.0;
