From eadb480b311448ec7fe09266a3c1bdecdb780f8c Mon Sep 17 00:00:00 2001 From: mfranz Date: Sat, 27 Oct 2007 19:16:39 +0000 Subject: [PATCH] try to fix yet another crash bug (don't worry, there's one for anybody!) --- src/ATC/tower.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ATC/tower.cxx b/src/ATC/tower.cxx index fc036748b..b99825461 100644 --- a/src/ATC/tower.cxx +++ b/src/ATC/tower.cxx @@ -190,7 +190,10 @@ FGTower::RemoveAllUserDialogOptions() really ought to be replaced by an ATCDialo At the moment planes in the lists are not guaranteed to always have a sensible ETA - it should be set as part of AddList functions, and lists should only be accessed this way. (FAIRLY MAJOR). *******************************************/ -FGTower::FGTower() { +FGTower::FGTower() : + separateGround(true), + ground(0) +{ ATCmgr = globals->get_ATC_mgr(); _type = TOWER;