1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Sky API: Rename *_tint to fog_*_tint for consistency

This commit is contained in:
SmallJoker 2020-05-04 20:19:12 +02:00 committed by Loïc Blot
parent 1b6f40c356
commit cad5b987ad
8 changed files with 38 additions and 38 deletions

View file

@ -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();