From 1bc855646e2c920c1df55bb73416f72295c020f4 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Thu, 29 Apr 2021 08:51:17 +0200 Subject: refacto: protect some RenderingEngine::get_scene_manager * protect it from Camera, Sky, ClientMap object calls * rename Game::sky to Game::m_sky --- src/client/sky.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/sky.h') diff --git a/src/client/sky.h b/src/client/sky.h index dc7da5021..121a16bb7 100644 --- a/src/client/sky.h +++ b/src/client/sky.h @@ -36,7 +36,7 @@ class Sky : public scene::ISceneNode { public: //! constructor - Sky(s32 id, ITextureSource *tsrc, IShaderSource *ssrc); + Sky(s32 id, RenderingEngine *rendering_engine, ITextureSource *tsrc, IShaderSource *ssrc); virtual void OnRegisterSceneNode(); -- cgit v1.2.3