1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 16:45:20 +02:00

Allow SIGINT to kill mainmenu again

This commit is contained in:
Kahrl
2013-08-19 14:55:38 +02:00
parent 4242782dc2
commit ade70fe4b9
5 changed files with 11 additions and 15 deletions

View File

@@ -109,7 +109,8 @@ public:
gui::IGUIElement* parent,
IMenuManager *menumgr,
scene::ISceneManager* smgr,
MainMenuData* data);
MainMenuData* data,
bool& kill);
/** default destructor */
virtual ~GUIEngine();
@@ -159,6 +160,9 @@ private:
/** the formspec menu */
GUIFormSpecMenu* m_menu;
/** reference to kill variable managed by SIGINT handler */
bool& m_kill;
/** variable used to abort menu and return back to main game handling */
bool m_startgame;