1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Update server.cpp

This commit is contained in:
Gefüllte Taubenbrust 2024-12-29 18:08:03 +01:00
parent 15e6f0a2e2
commit 33b68a4d05

View file

@ -1901,7 +1901,7 @@ void Server::SendOverrideDayNightRatio(session_t peer_id, bool do_override,
Send(&pkt);
}
void Server::SendSetLighting(session_t peer_id, const Lighting & lighting)
void Server::SendSetLighting(session_t peer_id, const Lighting &lighting)
{
NetworkPacket pkt(TOCLIENT_SET_LIGHTING,
4, peer_id);
@ -1910,11 +1910,11 @@ void Server::SendSetLighting(session_t peer_id, const Lighting & lighting)
pkt << lighting.saturation;
pkt << lighting.exposure.luminance_min
<< lighting.exposure.luminance_max
<< lighting.exposure.exposure_correction
<< lighting.exposure.speed_dark_bright
<< lighting.exposure.speed_bright_dark
<< lighting.exposure.center_weight_power;
<< lighting.exposure.luminance_max
<< lighting.exposure.exposure_correction
<< lighting.exposure.speed_dark_bright
<< lighting.exposure.speed_bright_dark
<< lighting.exposure.center_weight_power;
pkt << lighting.volumetric_light_strength << lighting.shadow_tint;
pkt << lighting.bloom_intensity << lighting.bloom_strength_factor <<