diff options
author | Ben Deutsch <ben@bendeutsch.de> | 2017-08-04 05:58:10 +0200 |
---|---|---|
committer | rubenwardy <rubenwardy@gmail.com> | 2017-08-12 19:37:53 +0100 |
commit | 9ef9c72e5ac71e0877bad9552f18bd0e9e3885ea (patch) | |
tree | 1af87ef4bc291979dc237a10c5790735c9429fa1 /src/guiEngine.cpp | |
parent | 7e23532bc2982fe8c3b23eb8f3b536184b43021f (diff) | |
download | minetest-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/guiEngine.cpp')
-rw-r--r-- | src/guiEngine.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/guiEngine.cpp b/src/guiEngine.cpp index 65ef1605a..d8d8d3b11 100644 --- a/src/guiEngine.cpp +++ b/src/guiEngine.cpp @@ -313,7 +313,8 @@ GUIEngine::~GUIEngine() /******************************************************************************/ void GUIEngine::cloudInit() { - m_cloud.clouds = new Clouds(m_smgr, -1, rand(), 100); + m_cloud.clouds = new Clouds(m_smgr, -1, rand()); + m_cloud.clouds->setHeight(100.0f); m_cloud.clouds->update(v3f(0, 0, 0), video::SColor(255,200,200,255)); m_cloud.camera = m_smgr->addCameraSceneNode(0, |