]> git.mxchange.org Git - flightgear.git/commitdiff
FGClouds: initialize clouds_3d_enabled in constructor.
authorTim Moore <timoore@redhat.com>
Wed, 14 Jan 2009 10:33:00 +0000 (11:33 +0100)
committerTim Moore <timoore@redhat.com>
Wed, 14 Jan 2009 10:33:00 +0000 (11:33 +0100)
From Csaba Halász

src/Environment/fgclouds.cxx

index 04e2dbe602c0a6423603be333648880f1985baf9..91166dbabcc671a7266dc789b5f0f7e6eaf558c0 100644 (file)
@@ -51,6 +51,7 @@ FGClouds::FGClouds(FGEnvironmentCtrl * controller) :
        station_elevation_ft(0.0),
        _controller( controller ),
        snd_lightning(NULL),
+    clouds_3d_enabled(false),
     last_scenario( "unset" ),
     last_env_config( new SGPropertyNode() ),
     last_env_clouds( new SGPropertyNode() )