Fix cloud color in loading screen and main menu (#8174)
This commit is contained in:
parent
15da50c815
commit
09b2730552
@ -137,7 +137,7 @@ bool ClientLauncher::run(GameParams &game_params, const Settings &cmd_args)
|
||||
if (!g_menuclouds)
|
||||
g_menuclouds = new Clouds(g_menucloudsmgr->getRootSceneNode(),
|
||||
g_menucloudsmgr, -1, rand(), 100);
|
||||
g_menuclouds->update(v2f(0, 0), video::SColor(255, 200, 200, 255));
|
||||
g_menuclouds->update(v2f(0, 0), video::SColor(255, 240, 240, 255));
|
||||
scene::ICameraSceneNode* camera;
|
||||
camera = g_menucloudsmgr->addCameraSceneNode(0,
|
||||
v3f(0, 0, 0), v3f(0, 60, 100));
|
||||
|
@ -357,7 +357,7 @@ void GUIEngine::cloudInit()
|
||||
{
|
||||
m_cloud.clouds = new Clouds(m_smgr->getRootSceneNode(),
|
||||
m_smgr, -1, rand(), 100);
|
||||
m_cloud.clouds->update(v2f(0, 0), video::SColor(255,200,200,255));
|
||||
m_cloud.clouds->update(v2f(0, 0), video::SColor(255,240,240,255));
|
||||
|
||||
m_cloud.camera = m_smgr->addCameraSceneNode(0,
|
||||
v3f(0,0,0), v3f(0, 60, 100));
|
||||
@ -631,4 +631,3 @@ unsigned int GUIEngine::queueAsync(const std::string &serialized_func,
|
||||
{
|
||||
return m_script->queueAsync(serialized_func, serialized_params);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user