Re: [Flightgear-devel] Recently introduced bug in AI/Radar

2006-03-02 Thread AJ MacLeod
On Thursday 02 March 2006 19:38, Mathias Fröhlich wrote: > Yes, I optimized away a bit too much ... > try this patch please! Hi Matthias, Thanks very much for looking into that - after brief initial testing it seems like you've fixed the problem. I'll test it with a few more scenarios (includin

Re: [Flightgear-devel] Recently introduced bug in AI/Radar

2006-03-02 Thread Mathias Fröhlich
Actually hit the send button too early ... Here is the patch to try ... Mathias -- Mathias Fröhlich, email: [EMAIL PROTECTED] Index: src/AIModel/AIBase.cxx === RCS file: /var/cvs/FlightGear-0.9/source/src/AIModel/AIBase.cxx,v r

Re: [Flightgear-devel] Recently introduced bug in AI/Radar

2006-03-02 Thread Mathias Fröhlich
On Wednesday 01 March 2006 12:55, AJ MacLeod wrote: > Hi all, > > I believe there was a bug recently introduced (with the recent SG changes I > think) which has stopped radar working properly. > > The AI aircraft now seem (if I'm not mistaken) to start as the number of > radar returns specified in

[Flightgear-devel] Recently introduced bug in AI/Radar

2006-03-01 Thread AJ MacLeod
Hi all, I believe there was a bug recently introduced (with the recent SG changes I think) which has stopped radar working properly. The AI aircraft now seem (if I'm not mistaken) to start as the number of radar returns specified in the XML + 1; in other words, if I have two radar returns ment