diff --git a/simgear/environment/visual_enviro.hxx b/simgear/environment/visual_enviro.hxx index 43c510f7..6e2e7d53 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 struct SGLightning; +friend class SGLightning; private: void DrawCone2(float baseRadius, float height, int slices, bool down, double rain_norm, double speed); void lt_update(void);