]> git.mxchange.org Git - simgear.git/commitdiff
Fix an initialization problem
authorehofman <ehofman>
Mon, 19 Jan 2004 13:37:26 +0000 (13:37 +0000)
committerehofman <ehofman>
Mon, 19 Jan 2004 13:37:26 +0000 (13:37 +0000)
simgear/scene/sky/moon.cxx

index 7eed9c5c4e389499c37436274d675a6d88bda543..dd280f699bd4474dff9d8f62cb5ba2c70b089eff 100644 (file)
@@ -118,7 +118,9 @@ static int sgMoonHaloPostDraw( ssgEntity *e ) {
 
 
 // Constructor
-SGMoon::SGMoon( void ) {
+SGMoon::SGMoon( void ) :
+    prev_moon_angle(-1)
+{
 }