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:
parent
dd475d8af4
commit
ded1b09838
8 changed files with 24 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue