aboutsummaryrefslogtreecommitdiff
path: root/src/guiPauseMenu.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2014-01-06 17:37:23 +0200
committerPerttu Ahola <celeron55@gmail.com>2014-01-06 17:39:44 +0200
commit92aa38bdfc36fd7599a8e85722825381c89f0f9c (patch)
tree17a520f832c692afdf04e68acc3b03a0f62d9712 /src/guiPauseMenu.h
parent6833e04bc55156025267c39a58a29007318129fa (diff)
downloadminetest-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/guiPauseMenu.h')
-rw-r--r--src/guiPauseMenu.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guiPauseMenu.h b/src/guiPauseMenu.h
index 25011a34a..2808c93b1 100644
--- a/src/guiPauseMenu.h
+++ b/src/guiPauseMenu.h
@@ -51,7 +51,9 @@ public:
void drawMenu();
bool OnEvent(const SEvent& event);
-
+
+ bool pausesGame(){ return true; }
+
private:
IGameCallback *m_gamecallback;
bool m_simple_singleplayer_mode;