diff options
Diffstat (limited to 'src/clientenvironment.cpp')
-rw-r--r-- | src/clientenvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clientenvironment.cpp b/src/clientenvironment.cpp index 28b61b06e..791b61531 100644 --- a/src/clientenvironment.cpp +++ b/src/clientenvironment.cpp @@ -456,7 +456,7 @@ u16 ClientEnvironment::addActiveObject(ClientActiveObject *object) infostream<<"ClientEnvironment::addActiveObject(): " <<"added (id="<<object->getId()<<")"<<std::endl; m_active_objects[object->getId()] = object; - object->addToScene(RenderingEngine::get_scene_manager(), m_texturesource); + object->addToScene(m_texturesource); { // Update lighting immediately u8 light = 0; bool pos_ok; |