aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorSmallJoker <mk939@ymail.com>2020-05-04 20:19:12 +0200
committerLoïc Blot <nerzhul@users.noreply.github.com>2020-05-05 08:37:04 +0200
commitcad5b987ad4720bd6a49d3604be9e81ea348f799 (patch)
treebd12705293670c9bcfc29c01ac19a1afc44e4e4b /src/server.cpp
parent1b6f40c35632ab5a2066822c8b5d4c09d469f49d (diff)
downloadminetest-cad5b987ad4720bd6a49d3604be9e81ea348f799.tar.gz
minetest-cad5b987ad4720bd6a49d3604be9e81ea348f799.tar.bz2
minetest-cad5b987ad4720bd6a49d3604be9e81ea348f799.zip
Sky API: Rename *_tint to fog_*_tint for consistency
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 0346d197d..05584be2d 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -1770,8 +1770,8 @@ void Server::SendSetSky(session_t peer_id, const SkyboxParams &params)
pkt << params.clouds;
} else { // Handle current clients and future clients
pkt << params.bgcolor << params.type
- << params.clouds << params.sun_tint
- << params.moon_tint << params.tint_type;
+ << params.clouds << params.fog_sun_tint
+ << params.fog_moon_tint << params.fog_tint_type;
if (params.type == "skybox") {
pkt << (u16) params.textures.size();