]> git.mxchange.org Git - flightgear.git/commit
Fix timing issue on startup for auto runway selection
authorTorsten Dreyer <Torsten@t3r.de>
Mon, 11 Oct 2010 19:21:53 +0000 (21:21 +0200)
committerTorsten Dreyer <Torsten@t3r.de>
Mon, 11 Oct 2010 19:21:53 +0000 (21:21 +0200)
commit06fb956f2c506f4468860e8eca9eccd09127961a
tree469959aa57131258cecc8b828b15999883bfe182
parentb9f2f432b3c6894b4bc39d9a6176443f1ee6f1a2
Fix timing issue on startup for auto runway selection

The automatic runway selection code in startup.nas depends
on a valid metar before /sim/signals/nasal-dir-initialized
is fired. If the METAR arrives after that signal, no automatic
runway selection is performed. This patch waits for a METAR
on the first update() loop of the subsystem.
src/Environment/realwx_ctrl.cxx