]> git.mxchange.org Git - simgear.git/commitdiff
Pre-initialize the variables driving the external force
authorehofman <ehofman>
Mon, 4 Aug 2003 12:07:04 +0000 (12:07 +0000)
committerehofman <ehofman>
Mon, 4 Aug 2003 12:07:04 +0000 (12:07 +0000)
simgear/scene/sky/cloud.cxx

index eaf813c618e567ca754a8463ab68845313f6b5d5..e1f65de314e33e65190eb7ab563011e3502c472e 100644 (file)
@@ -48,6 +48,8 @@ SGCloudLayer::SGCloudLayer( const string &tex_path ) :
     layer_transition(0.0),
     layer_coverage(SG_CLOUD_CLEAR),
     scale(4000.0),
+    speed(0.0),
+    direction(0.0),
     last_lon(0.0),
     last_lat(0.0)
 {