From: ehofman Date: Mon, 19 Jan 2004 13:37:26 +0000 (+0000) Subject: Fix an initialization problem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8c296d96c767aee6fe17ac3737bb71239893e154;p=simgear.git Fix an initialization problem --- 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) +{ }