mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
MainMenuManager: fix FIXME (#15414)
This commit is contained in:
parent
af61de7777
commit
1c92d6243f
2 changed files with 8 additions and 3 deletions
|
@ -70,6 +70,12 @@ public:
|
|||
return m_stack.size();
|
||||
}
|
||||
|
||||
void deleteFront()
|
||||
{
|
||||
m_stack.front()->setVisible(false);
|
||||
deletingMenu(m_stack.front());
|
||||
}
|
||||
|
||||
bool pausesGame()
|
||||
{
|
||||
for (gui::IGUIElement *i : m_stack) {
|
||||
|
@ -80,7 +86,7 @@ public:
|
|||
return false;
|
||||
}
|
||||
|
||||
// FIXME: why isn't this private?
|
||||
private:
|
||||
std::list<gui::IGUIElement*> m_stack;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue