2009/11/10 Statto Software <stattosoftw...@yahoo.com>:
> 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
>

Hi John,

While I don't have commit rights to cvs, it looks good to me. I guess
there are not many airports with centre runways. :-)


Regards


George

------------------------------------------------------------------------------
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
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to