aboutsummaryrefslogtreecommitdiff
path: root/src/remoteplayer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/remoteplayer.cpp')
-rw-r--r--src/remoteplayer.cpp17
1 files changed, 4 insertions, 13 deletions
diff --git a/src/remoteplayer.cpp b/src/remoteplayer.cpp
index d537965a2..3f0eae0f0 100644
--- a/src/remoteplayer.cpp
+++ b/src/remoteplayer.cpp
@@ -68,19 +68,10 @@ RemotePlayer::RemotePlayer(const char *name, IItemDefManager *idef):
m_cloud_params.speed = v2f(0.0f, -2.0f);
// Skybox defaults:
-
- SkyboxDefaults sky_defaults;
-
- m_skybox_params.sky_color = sky_defaults.getSkyColorDefaults();
- m_skybox_params.type = "regular";
- m_skybox_params.clouds = true;
- m_skybox_params.fog_sun_tint = video::SColor(255, 244, 125, 29);
- m_skybox_params.fog_moon_tint = video::SColorf(0.5, 0.6, 0.8, 1).toSColor();
- m_skybox_params.fog_tint_type = "default";
-
- m_sun_params = sky_defaults.getSunDefaults();
- m_moon_params = sky_defaults.getMoonDefaults();
- m_star_params = sky_defaults.getStarDefaults();
+ m_skybox_params = SkyboxDefaults::getSkyDefaults();
+ m_sun_params = SkyboxDefaults::getSunDefaults();
+ m_moon_params = SkyboxDefaults::getMoonDefaults();
+ m_star_params = SkyboxDefaults::getStarDefaults();
}