mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Remove m_ext_ptr in GUIFormSpecMenu, replaced by refcount mechanism
This commit is contained in:
parent
73bf791fe1
commit
b49e5cfc70
5 changed files with 27 additions and 17 deletions
|
@ -190,7 +190,7 @@ GUIEngine::GUIEngine( irr::IrrlichtDevice* dev,
|
|||
m_texture_source,
|
||||
m_formspecgui,
|
||||
m_buttonhandler,
|
||||
NULL, NULL);
|
||||
NULL);
|
||||
|
||||
m_menu->allowClose(false);
|
||||
m_menu->lockSize(true,v2u32(800,600));
|
||||
|
@ -220,8 +220,7 @@ GUIEngine::GUIEngine( irr::IrrlichtDevice* dev,
|
|||
}
|
||||
|
||||
m_menu->quitMenu();
|
||||
m_menu->remove();
|
||||
delete m_menu;
|
||||
m_menu->drop();
|
||||
m_menu = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue