summaryrefslogtreecommitdiff
path: root/src/modalMenu.h
diff options
context:
space:
mode:
authorLoïc Blot <nerzhul@users.noreply.github.com>2017-06-18 19:55:15 +0200
committerGitHub <noreply@github.com>2017-06-18 19:55:15 +0200
commit4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f (patch)
tree57ce8401a5f6538024c1f19d37d576fba21e147b /src/modalMenu.h
parent8f7785771b9e02b1a1daf7a252550d78ea93053d (diff)
downloadminetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.tar.gz
minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.tar.bz2
minetest-4faaadc8d50d6ab7a19d22bd5a760c4b8321a51f.zip
Cpp11 patchset 11: continue working on constructor style migration (#6004)
Diffstat (limited to 'src/modalMenu.h')
-rw-r--r--src/modalMenu.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/modalMenu.h b/src/modalMenu.h
index 38a26535e..7dbf36fbc 100644
--- a/src/modalMenu.h
+++ b/src/modalMenu.h
@@ -48,11 +48,7 @@ public:
IGUIElement(gui::EGUIET_ELEMENT, env, parent, id,
core::rect<s32>(0,0,100,100))
{
- //m_force_regenerate_gui = false;
-
m_menumgr = menumgr;
- m_allow_focus_removal = false;
- m_screensize_old = v2u32(0,0);
setVisible(true);
Environment->setFocus(this);
@@ -142,7 +138,7 @@ private:
IMenuManager *m_menumgr;
// This might be necessary to expose to the implementation if it
// wants to launch other menus
- bool m_allow_focus_removal;
+ bool m_allow_focus_removal = false;
};