5e81b331e1
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. |
||
---|---|---|
.. | ||
.cvsignore | ||
apt_loader.cxx | ||
apt_loader.hxx | ||
calc_loc.cxx | ||
Makefile.am | ||
runways.cxx | ||
runways.hxx | ||
simple.cxx | ||
simple.hxx | ||
testair.cxx |