]> git.mxchange.org Git - flightgear.git/commitdiff
try to fix yet another crash bug (don't worry, there's one for anybody!)
authormfranz <mfranz>
Sat, 27 Oct 2007 19:16:39 +0000 (19:16 +0000)
committermfranz <mfranz>
Sat, 27 Oct 2007 19:16:39 +0000 (19:16 +0000)
src/ATC/tower.cxx

index fc036748ba5bceb2a2ae16fdd82e0bd11ca3d86e..b9982546120ff8aa0f28a6c7c2eebdfd3b5fc560 100644 (file)
@@ -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;