On 5 Sep 2008, at 15:24, Csaba Halász wrote:

> 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));

Yep, that's quite a likely source - thanks for the help, I'll work out  
from this.

Regards,
James


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

Reply via email to