On Fri, Sep 5, 2008 at 7:30 AM, Durk Talsma <[EMAIL PROTECTED]> wrote:
>
> Could you check whether you have the old AI traffic enabled? Check for
>
>  <ai-traffic>
>   <enabled type="bool" userarchive="y">false</enabled>
>   <level type="int" userarchive="y">1</level>
>  </ai-traffic>
>
> in preferences.xml. If this is set to true, please try changing it to false,
> and check whether that makes a difference.

Well, I had that disabled so I couldn't reproduce the bug either. But
enabling it indeed resulted in a crash.
Problem seems to be in AILocalTraffic.cxx, marked as TODO:

void FGAILocalTraffic::GetRwyDetails(const string& id) {
        //cout << "GetRwyDetails called" << endl;

        if(_controlled) {
                rwy.rwyID = tower->GetActiveRunway();
        } else {
                // TODO - get a proper runway ID from uncontrolled airports
                rwy.rwyID = "00";
        }

        // Now we need to get the threshold position and rwy heading

  const FGAirport* apt = fgFindAirportID(id);
  assert(apt);
  FGRunway runway(apt->getRunwayByIdent(rwy.rwyID));

-- 
Csaba/Jester

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to