mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Allow the server to control fog_distance and fog_start via the sky-api (#13448)
This commit is contained in:
parent
dde8f0e20a
commit
0ade097e99
11 changed files with 80 additions and 21 deletions
|
@ -1846,6 +1846,7 @@ void Server::SendSetSky(session_t peer_id, const SkyboxParams ¶ms)
|
|||
}
|
||||
|
||||
pkt << params.body_orbit_tilt;
|
||||
pkt << params.fog_distance << params.fog_start;
|
||||
}
|
||||
|
||||
Send(&pkt);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue