From 129813e0aaf4b427fd443325ff7032bb7117c19f Mon Sep 17 00:00:00 2001
From: mfranz <mfranz>
Date: Sun, 29 Jan 2006 16:20:31 +0000
Subject: [PATCH] set the /sim/signals/reinit property on reinit, so that
 aircraft code can attach listeners. Other relevant stuff should go here, too.
 (/sim/crashed could be one.)

---
 src/GUI/gui_local.cxx | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/GUI/gui_local.cxx b/src/GUI/gui_local.cxx
index 1ec2b08ed..0feed8a7e 100644
--- a/src/GUI/gui_local.cxx
+++ b/src/GUI/gui_local.cxx
@@ -81,9 +81,10 @@ void reInit(puObject *cb)
     fgReInitSubsystems();
 
     globals->get_tile_mgr()->update( fgGetDouble("/environment/visibility-m") );
-
     globals->get_renderer()->resize( xsize, ysize );
 
+    fgSetBool("/sim/signals/reinit", true);
+
     // BusyCursor(1);
     
     if ( !freeze ) {