diff --git a/simgear/scene/sky/moon.cxx b/simgear/scene/sky/moon.cxx index 7eed9c5c..dd280f69 100644 --- a/simgear/scene/sky/moon.cxx +++ b/simgear/scene/sky/moon.cxx @@ -118,7 +118,9 @@ static int sgMoonHaloPostDraw( ssgEntity *e ) { // Constructor -SGMoon::SGMoon( void ) { +SGMoon::SGMoon( void ) : + prev_moon_angle(-1) +{ }