]> git.mxchange.org Git - flightgear.git/commit
Melchior FRANZ:
authorehofman <ehofman>
Tue, 30 Nov 2004 12:14:17 +0000 (12:14 +0000)
committerehofman <ehofman>
Tue, 30 Nov 2004 12:14:17 +0000 (12:14 +0000)
commitfee003e8cc17f0aa9a1e9280dd823d20e231e967
tree91bde77b2d0ff65b1e72175f9e7b50ef67713b54
parentc537267f96a959cdbb29d89066a388b4247ec8d2
Melchior FRANZ:

I understand that the new hud/runway feature is still very experimental,
and that the search criteria for the active runway don't necessarily make
much sense. (We are searching for a runway on /sim/presets/airport-id
that matches the current wind direction best, and not the tuned in ILS
runway or something!)

Anyway: the new hud code completely denies the possibility of
globals->get_runways()->search() not finding a runway and returning false.
There's always a runway found at KSFO, but not so at e.g. LOXL, in which
case we are handing garbage over to sg_geodesy.cxx and find ourselves
caught in an endless loop in geo_direct_wgs_84().
src/Cockpit/hud.hxx
src/Cockpit/hud_rwy.cxx