diff options
author | Perttu Ahola <celeron55@gmail.com> | 2011-11-02 12:50:21 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-02 12:50:21 +0200 |
commit | 0c20973c17771155f40b6eaf9caba81204702e4e (patch) | |
tree | 82cfb25a61c2e3b8e1923c1500a5546fd711758c /src/main.cpp | |
parent | f65d157786d09a4756a52ec52f821c02a5f0efad (diff) | |
download | minetest-0c20973c17771155f40b6eaf9caba81204702e4e.tar.gz minetest-0c20973c17771155f40b6eaf9caba81204702e4e.tar.bz2 minetest-0c20973c17771155f40b6eaf9caba81204702e4e.zip |
Add 3d cloud checkbox in main menu (and rename setting from enable_2d_clouds to enable_3d_clouds)
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index bc44775bd..6739a7759 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1543,6 +1543,7 @@ int main(int argc, char *argv[]) menudata.port = narrow_to_wide(itos(port)); menudata.fancy_trees = g_settings->getBool("new_style_leaves"); menudata.smooth_lighting = g_settings->getBool("smooth_lighting"); + menudata.clouds_3d = g_settings->getBool("enable_3d_clouds"); menudata.creative_mode = g_settings->getBool("creative_mode"); menudata.enable_damage = g_settings->getBool("enable_damage"); @@ -1615,6 +1616,7 @@ int main(int argc, char *argv[]) port = newport; g_settings->set("new_style_leaves", itos(menudata.fancy_trees)); g_settings->set("smooth_lighting", itos(menudata.smooth_lighting)); + g_settings->set("enable_3d_clouds", itos(menudata.clouds_3d)); g_settings->set("creative_mode", itos(menudata.creative_mode)); g_settings->set("enable_damage", itos(menudata.enable_damage)); |