Hi,

TACAN has to search the new AI submode 'tanker'.

This tiny patch can be applied to both PLIB and OSG.
Thanks for committing,

Alexis
Index: tacan.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/source/src/Instrumentation/tacan.cxx,v
retrieving revision 1.22.2.2
diff -u -p -u -p -r1.22.2.2 tacan.cxx
--- tacan.cxx   6 May 2007 14:02:46 -0000       1.22.2.2
+++ tacan.cxx   13 Jun 2007 21:04:20 -0000
@@ -337,7 +337,7 @@ TACAN::search (double frequency_mhz, dou
             SG_LOG( SG_INSTR, SG_DEBUG, "tanker transmitter valid start " << 
_mobile_valid );
 
         SGPropertyNode * branch = fgGetNode("ai/models", true);
-        vector<SGPropertyNode_ptr> tanker = branch->getChildren("aircraft");
+        vector<SGPropertyNode_ptr> tanker = branch->getChildren("tanker");
 
         number = tanker.size();
 
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to