diff --git a/simgear/environment/visual_enviro.hxx b/simgear/environment/visual_enviro.hxx index 695e1444..43c510f7 100644 --- a/simgear/environment/visual_enviro.hxx +++ b/simgear/environment/visual_enviro.hxx @@ -34,7 +34,7 @@ class SGSoundMgr; * Visual environment helper class. */ class SGEnviro { -friend SGLightning; +friend struct SGLightning; private: void DrawCone2(float baseRadius, float height, int slices, bool down, double rain_norm, double speed); void lt_update(void);