mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 01:45:36 +02:00
refacto: protect some RenderingEngine::get_scene_manager
* protect it from Camera, Sky, ClientMap object calls * rename Game::sky to Game::m_sky
This commit is contained in:
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user