From ade70fe4b92202065c17d04f21415848b2c6d419 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Mon, 19 Aug 2013 14:55:38 +0200 Subject: Allow SIGINT to kill mainmenu again --- src/guiEngine.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/guiEngine.h') diff --git a/src/guiEngine.h b/src/guiEngine.h index 3987b52c7..6b7d3b6ed 100644 --- a/src/guiEngine.h +++ b/src/guiEngine.h @@ -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; -- cgit v1.2.3