aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorBen Deutsch <ben@bendeutsch.de>2017-08-04 05:58:10 +0200
committerrubenwardy <rubenwardy@gmail.com>2017-08-12 19:37:53 +0100
commit9ef9c72e5ac71e0877bad9552f18bd0e9e3885ea (patch)
tree1af87ef4bc291979dc237a10c5790735c9429fa1 /src/client
parent7e23532bc2982fe8c3b23eb8f3b536184b43021f (diff)
downloadminetest-9ef9c72e5ac71e0877bad9552f18bd0e9e3885ea.tar.gz
minetest-9ef9c72e5ac71e0877bad9552f18bd0e9e3885ea.tar.bz2
minetest-9ef9c72e5ac71e0877bad9552f18bd0e9e3885ea.zip
Remove cloud_height setting
With the cloud API, the cloud_height setting has become obsolete and replaceable by a mod. It, and supporting code, can be removed.
Diffstat (limited to 'src/client')
-rw-r--r--src/client/clientlauncher.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/clientlauncher.cpp b/src/client/clientlauncher.cpp
index 66e3f9a72..a5c1784aa 100644
--- a/src/client/clientlauncher.cpp
+++ b/src/client/clientlauncher.cpp
@@ -128,7 +128,8 @@ bool ClientLauncher::run(GameParams &game_params, const Settings &cmd_args)
if (!g_menucloudsmgr)
g_menucloudsmgr = RenderingEngine::get_scene_manager()->createNewSceneManager();
if (!g_menuclouds)
- g_menuclouds = new Clouds(g_menucloudsmgr, -1, rand(), 100);
+ g_menuclouds = new Clouds(g_menucloudsmgr, -1, rand());
+ g_menuclouds->setHeight(100.0f);
g_menuclouds->update(v3f(0, 0, 0), video::SColor(255, 200, 200, 255));
scene::ICameraSceneNode* camera;
camera = g_menucloudsmgr->addCameraSceneNode(0,