From 235b35ef9a845ba40c5ba594dfe1510542cae858 Mon Sep 17 00:00:00 2001 From: mfranz Date: Thu, 26 Apr 2007 20:27:25 +0000 Subject: [PATCH] set tower position at startup --- src/Main/fg_init.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Main/fg_init.cxx b/src/Main/fg_init.cxx index eb0878c57..3b3c68b3f 100644 --- a/src/Main/fg_init.cxx +++ b/src/Main/fg_init.cxx @@ -750,7 +750,7 @@ struct FGTowerLocationListener : SGPropertyChangeListener { void fgInitTowerLocationListener() { 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)