From 2083252c05ece1e47c1c476fda2b9eda3bf332a0 Mon Sep 17 00:00:00 2001 From: sofar Date: Sat, 25 Feb 2023 16:08:33 -0800 Subject: Sky: transmit body_orbit_tilt to client. (#13193) This obsoletes the current client-side setting entirely. The server can transmit the tilt to the client directly and will send 0.0f as default value. Co-authored-by: x2048 Co-authored-by: sfan5 --- src/server.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/server.cpp') diff --git a/src/server.cpp b/src/server.cpp index bced71afa..3e0ce3189 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1808,6 +1808,8 @@ void Server::SendSetSky(session_t peer_id, const SkyboxParams ¶ms) << params.sky_color.night_sky << params.sky_color.night_horizon << params.sky_color.indoors; } + + pkt << params.body_orbit_tilt; } Send(&pkt); -- cgit v1.2.3