projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b14215
)
Fix lost pause support in singleplayer
author
sapier
<Sapier at GMX dot net>
Thu, 24 Apr 2014 17:47:17 +0000
(19:47 +0200)
committer
sapier
<Sapier at GMX dot net>
Thu, 24 Apr 2014 17:47:17 +0000
(19:47 +0200)
src/game.cpp
patch
|
blob
|
history
diff --git
a/src/game.cpp
b/src/game.cpp
index 58a26e943a17e6f46015c8866fd8d481d4c0ad0e..2d6205140ee2dc0fa7a0fdf165bb4ec837fd239a 100644
(file)
--- a/
src/game.cpp
+++ b/
src/game.cpp
@@
-1077,6
+1077,10
@@
static void show_pause_menu(GUIFormSpecMenu** cur_formspec,
LocalFormspecHandler* txt_dst = new LocalFormspecHandler("MT_PAUSE_MENU");
create_formspec_menu(cur_formspec, invmgr, gamedef, tsrc, device, fs_src, txt_dst);
+
+ if (singleplayermode) {
+ (*cur_formspec)->doPause = true;
+ }
}
/******************************************************************************/