diff options
| author | lhofhansl <larsh@apache.org> | 2022-12-25 16:15:32 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-25 16:15:32 -0800 |
| commit | 1e7804aaf66e2c2a81f81267923621dea17cb274 (patch) | |
| tree | 15de0319b559a7679659d66b2b389d71e97352b6 /src/network/clientpackethandler.cpp | |
| parent | afd5caa26a2352c912e1a1976b59e1f89773cdec (diff) | |
| download | minetest-1e7804aaf66e2c2a81f81267923621dea17cb274.tar.xz | |
Allow saturation to be controlled by the server. (#13075)
Diffstat (limited to 'src/network/clientpackethandler.cpp')
| -rw-r--r-- | src/network/clientpackethandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/clientpackethandler.cpp b/src/network/clientpackethandler.cpp index 9044e6e35..a98fa0733 100644 --- a/src/network/clientpackethandler.cpp +++ b/src/network/clientpackethandler.cpp @@ -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; } |
