diff options
author | BlockMen <nmuelll@web.de> | 2014-03-13 14:06:18 +0100 |
---|---|---|
committer | BlockMen <nmuelll@web.de> | 2014-03-13 14:06:18 +0100 |
commit | e4d1970abfd6206aa8780cb6cafd2efc46a2666f (patch) | |
tree | bb3931829b8ab59665493aeba7e1b5ea7d8d265b /src/guiFormSpecMenu.h | |
parent | 03297acbf4efba9a19a7f31950cb6f2bc3c65ec8 (diff) | |
download | minetest-e4d1970abfd6206aa8780cb6cafd2efc46a2666f.tar.gz minetest-e4d1970abfd6206aa8780cb6cafd2efc46a2666f.tar.bz2 minetest-e4d1970abfd6206aa8780cb6cafd2efc46a2666f.zip |
Fix game pause in singleplayer
Diffstat (limited to 'src/guiFormSpecMenu.h')
-rw-r--r-- | src/guiFormSpecMenu.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/guiFormSpecMenu.h b/src/guiFormSpecMenu.h index 3fc1b5746..6f7de158b 100644 --- a/src/guiFormSpecMenu.h +++ b/src/guiFormSpecMenu.h @@ -242,6 +242,8 @@ public: void acceptInput(FormspecQuitMode quitmode); bool preprocessEvent(const SEvent& event); bool OnEvent(const SEvent& event); + bool doPause; + bool pausesGame() { return doPause; } GUITable* getTable(std::wstring tablename); |