aboutsummaryrefslogtreecommitdiff
path: root/src/clientenvironment.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/clientenvironment.cpp')
-rw-r--r--src/clientenvironment.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clientenvironment.cpp b/src/clientenvironment.cpp
index 2a761ee1d..e6b273086 100644
--- a/src/clientenvironment.cpp
+++ b/src/clientenvironment.cpp
@@ -458,7 +458,7 @@ u16 ClientEnvironment::addActiveObject(ClientActiveObject *object)
infostream<<"ClientEnvironment::addActiveObject(): "
<<"added (id="<<object->getId()<<")"<<std::endl;
m_active_objects[object->getId()] = object;
- object->addToScene(m_smgr, m_texturesource, m_irr);
+ object->addToScene(m_smgr, m_texturesource);
{ // Update lighting immediately
u8 light = 0;
bool pos_ok;