diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2021-04-29 08:51:17 +0200 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2021-05-03 19:49:19 +0200 |
commit | 1bc855646e2c920c1df55bb73416f72295c020f4 (patch) | |
tree | db872efec84c5daa6d37b6e2d1c71e4450255c3b /src/client/client.cpp | |
parent | 258101a91031f3ff9ee01a974030b02529ffdac0 (diff) | |
download | dragonfireclient-1bc855646e2c920c1df55bb73416f72295c020f4.tar.xz |
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/client.cpp')
-rw-r--r-- | src/client/client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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), |