1
0
Fork 0

set tower position at startup

This commit is contained in:
mfranz 2007-04-26 20:27:25 +00:00
parent 3b5fed01ca
commit 235b35ef9a

View file

@ -750,7 +750,7 @@ struct FGTowerLocationListener : SGPropertyChangeListener {
void fgInitTowerLocationListener() { void fgInitTowerLocationListener() {
fgGetNode("/sim/tower/airport-id", true) fgGetNode("/sim/tower/airport-id", true)
->addChangeListener( new FGTowerLocationListener() ); ->addChangeListener( new FGTowerLocationListener(), true );
} }
// Set current_options lon/lat given an airport id and heading (degrees) // Set current_options lon/lat given an airport id and heading (degrees)