]> git.mxchange.org Git - flightgear.git/commit
David Luff:
authorcurt <curt>
Sun, 26 Dec 2004 23:31:35 +0000 (23:31 +0000)
committercurt <curt>
Sun, 26 Dec 2004 23:31:35 +0000 (23:31 +0000)
commit5e81b331e152527d08529a910a2ec5737542f184
tree5570673a71054ba0bf8d6ad52bb952ce3d1ad368
parent4ab7603523b8d7d29488bac6fbfcd8f636c01dd5
David Luff:

Attached is a patched runways.cxx.  This fixes the find runway nearest to a given heading code.  This was returning the last runway loaded at a given airport, not the nearest runway to the heading requested (which seems to always be 270deg by default).  I have no idea how this has survived unnoticed for so long - I think it might be because you need to start at an airport with a runway near to 27 and one much greater than 27 eg. 36 to really tickle it, otherwise the runway nearest to 27 tends to be the final one loaded anyway.  Try starting at KARR with and without the patch and note the surface wind.  This should go in before the release.
src/Airports/runways.cxx