diff options
author | Perttu Ahola <celeron55@gmail.com> | 2014-01-06 17:37:23 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2014-01-06 17:39:44 +0200 |
commit | 92aa38bdfc36fd7599a8e85722825381c89f0f9c (patch) | |
tree | 17a520f832c692afdf04e68acc3b03a0f62d9712 /src/modalMenu.h | |
parent | 6833e04bc55156025267c39a58a29007318129fa (diff) | |
download | minetest-92aa38bdfc36fd7599a8e85722825381c89f0f9c.tar.gz minetest-92aa38bdfc36fd7599a8e85722825381c89f0f9c.tar.bz2 minetest-92aa38bdfc36fd7599a8e85722825381c89f0f9c.zip |
Actually pause singleplayer game in pause menu and use lower maximum FPS in it
Diffstat (limited to 'src/modalMenu.h')
-rw-r--r-- | src/modalMenu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modalMenu.h b/src/modalMenu.h index c8b45a247..251b7aa3b 100644 --- a/src/modalMenu.h +++ b/src/modalMenu.h @@ -124,6 +124,7 @@ public: virtual void drawMenu() = 0; virtual bool preprocessEvent(const SEvent& event) { return false; }; virtual bool OnEvent(const SEvent& event) { return false; }; + virtual bool pausesGame(){ return false; } // Used for pause menu protected: //bool m_force_regenerate_gui; |