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:
f9a8efb
)
Read server_announce from minetest.conf for GUI
author
PilzAdam
<PilzAdam@gmx.de>
Sat, 23 Feb 2013 21:48:02 +0000
(22:48 +0100)
committer
PilzAdam
<PilzAdam@gmx.de>
Sat, 23 Feb 2013 21:48:02 +0000
(22:48 +0100)
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index 9287ec760c89d2bd16a816ea9a766cc99e75958b..7bbbf082d3d230a961b3db23907d7a8edb2000c3 100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-1481,6
+1481,7
@@
int main(int argc, char *argv[])
driver->setTextureCreationFlag(video::ETCF_CREATE_MIP_MAPS, menudata.mip_map);
menudata.creative_mode = g_settings->getBool("creative_mode");
menudata.enable_damage = g_settings->getBool("enable_damage");
+ menudata.enable_public = g_settings->getBool("server_announce");
// Default to selecting nothing
menudata.selected_world = -1;
// Get world listing for the menu