I think I may have found the problem with the Center Runway texture not 
showing, but I'm not at all confident with my C++ skills, so someone will have 
to fix TerraGear for me.

However, I've found this code in 
/terragear-cs/src/airports/GenAirports/rwy_*.cxx:

 int len = rwy_info.rwy_no.length();
    string letter = "";
    string rev_letter = "";
    for ( i = 0; i < len; ++i ) {
        string tmp = rwy_info.rwy_no.substr(i, 1);
        if ( tmp == "L" ) {
            letter = "L";
            rev_letter = "R";
        } else if ( tmp == "R" ) {
            letter = "R";
            rev_letter = "L";
        } else if ( tmp == "C" ) {
            letter == "C";              // should this be letter = "C";?
            rev_letter = "C";
        }
    }

If my simple programming skills don't betray me, I //believe// letter == "C"; 
does not actually set letter to equal C, which may be why these airports are 
being generated without the center runway texture.

Cheers
John

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to