1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-15 19:42:10 +00:00

Add artificial light control

This commit is contained in:
Gefüllte Taubenbrust 2024-05-09 18:38:29 +02:00
parent dd475d8af4
commit ded1b09838
8 changed files with 24 additions and 4 deletions

View file

@ -1815,4 +1815,6 @@ void Client::handleCommand_SetLighting(NetworkPacket *pkt)
}
if (pkt->getRemainingBytes() >= 4)
*pkt >> lighting.volumetric_light_strength;
if (pkt->getRemainingBytes() >= 4)
*pkt >> lighting.artificial_light_color;
}

View file

@ -224,6 +224,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
Add TOCLIENT_MOVE_PLAYER_REL
Move default minimap from client-side C++ to server-side builtin Lua
[scheduled bump for 5.9.0]
Add artificial light color packet
*/
#define LATEST_PROTOCOL_VERSION 44