]> git.mxchange.org Git - flightgear.git/commit
James Turner,
authorehofman <ehofman>
Sun, 14 Sep 2008 14:31:00 +0000 (14:31 +0000)
committerehofman <ehofman>
Sun, 14 Sep 2008 14:31:00 +0000 (14:31 +0000)
commit82fcff36da325a0d09f023626a10067ce4f11078
treef4c9d797951ca114f49e742df5c107480d1b66c9
parent49030e700ba276d5cd6ffa4f4e661a266fa0105c
James Turner,

Regarding the Runway selection bug:
The logic here is a bit convoluted, but I also had a dumb bug in normaliseBearing - I was clamping to the wrong range (0..360 instead of -180..180). This caused the scoring code to pick weird runways. I've added some extra cases to my local tests, and here's a fix.
src/Airports/simple.cxx