mirror of
https://github.com/luanti-org/luanti.git
synced 2025-09-15 18:57:08 +00:00
Allow saturation to be controlled by the server. (#13075)
This commit is contained in:
parent
afd5caa26a
commit
1e7804aaf6
10 changed files with 23 additions and 16 deletions
|
@ -1764,4 +1764,6 @@ void Client::handleCommand_SetLighting(NetworkPacket *pkt)
|
|||
|
||||
if (pkt->getRemainingBytes() >= 4)
|
||||
*pkt >> lighting.shadow_intensity;
|
||||
if (pkt->getRemainingBytes() >= 4)
|
||||
*pkt >> lighting.saturation;
|
||||
}
|
||||
|
|
|
@ -830,6 +830,7 @@ enum ToClientCommand
|
|||
TOCLIENT_SET_LIGHTING = 0x63,
|
||||
/*
|
||||
f32 shadow_intensity
|
||||
f32 saturation
|
||||
*/
|
||||
|
||||
TOCLIENT_NUM_MSG_TYPES = 0x64,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue