aboutsummaryrefslogtreecommitdiff
path: root/src/client/sky.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/sky.cpp')
-rw-r--r--src/client/sky.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/sky.cpp b/src/client/sky.cpp
index 46a3f2621..47296a7a5 100644
--- a/src/client/sky.cpp
+++ b/src/client/sky.cpp
@@ -53,9 +53,9 @@ static video::SMaterial baseMaterial()
return mat;
};
-Sky::Sky(s32 id, ITextureSource *tsrc, IShaderSource *ssrc) :
- scene::ISceneNode(RenderingEngine::get_scene_manager()->getRootSceneNode(),
- RenderingEngine::get_scene_manager(), id)
+Sky::Sky(s32 id, RenderingEngine *rendering_engine, ITextureSource *tsrc, IShaderSource *ssrc) :
+ scene::ISceneNode(rendering_engine->get_scene_manager()->getRootSceneNode(),
+ rendering_engine->get_scene_manager(), id)
{
m_seed = (u64)myrand() << 32 | myrand();