From 4a789490834157baa8788a2f36c95b86c1e4440e Mon Sep 17 00:00:00 2001 From: Loïc Blot Date: Mon, 19 Jun 2017 16:49:34 +0200 Subject: Remove IrrlichtDevice unused pointer from ClientActiveObject class & childs (#6010) --- src/clientenvironment.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/clientenvironment.cpp') 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="<getId()<<")"<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; -- cgit v1.2.3