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/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/client.cpp') diff --git a/src/client/client.cpp b/src/client/client.cpp index 15979df02..d1c5cd948 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -110,7 +110,7 @@ Client::Client( m_rendering_engine(rendering_engine), m_mesh_update_thread(this), m_env( - new ClientMap(this, control, 666), + new ClientMap(this, rendering_engine, control, 666), tsrc, this ), m_particle_manager(&m_env), -- cgit v1.2.3