mirror of
https://github.com/luanti-org/luanti.git
synced 2025-07-02 16:38:41 +00:00
Remove IrrlichtDevice unused pointer from ClientActiveObject class & childs (#6010)
This commit is contained in:
parent
6eb03c135f
commit
4a78949083
4 changed files with 11 additions and 20 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue