aboutsummaryrefslogtreecommitdiff
path: root/src/client/sky.h
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2021-04-29 08:51:17 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2021-05-03 19:49:19 +0200
commit1bc855646e2c920c1df55bb73416f72295c020f4 (patch)
treedb872efec84c5daa6d37b6e2d1c71e4450255c3b /src/client/sky.h
parent258101a91031f3ff9ee01a974030b02529ffdac0 (diff)
downloadminetest-1bc855646e2c920c1df55bb73416f72295c020f4.tar.gz
minetest-1bc855646e2c920c1df55bb73416f72295c020f4.tar.bz2
minetest-1bc855646e2c920c1df55bb73416f72295c020f4.zip
refacto: protect some RenderingEngine::get_scene_manager
* protect it from Camera, Sky, ClientMap object calls * rename Game::sky to Game::m_sky
Diffstat (limited to 'src/client/sky.h')
-rw-r--r--src/client/sky.h2
1 files changed, 1 insertions, 1 deletions
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();