]> git.mxchange.org Git - simgear.git/commitdiff
Patch from Melchior Franz:
authordavid <david>
Fri, 7 Jun 2002 17:39:38 +0000 (17:39 +0000)
committerdavid <david>
Fri, 7 Jun 2002 17:39:38 +0000 (17:39 +0000)
layer_span used uninitialized in SGCloudLayer::rebuild (line 162, 170, etc.)

simgear/sky/cloud.cxx

index 4f9b5a15d05a92802fb1b25c9b2eb33e5b16e0a1..b7f639a1daabb0073d80c4700aa480900c33bee1 100644 (file)
@@ -42,6 +42,7 @@ SGCloudLayer::SGCloudLayer( const string &tex_path )
     layer_transform(new ssgTransform),
     layer(0),
     texture_path(tex_path),
+    layer_span(0),
     layer_asl(0),
     layer_thickness(0),
     layer_transition(0),