mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-23 09:45:19 +01:00
Option to make sky stars deterministic (#16529)
The star constellations are now based on a seed passed in StarParams.
This commit is contained in:
@@ -1445,6 +1445,7 @@ void Client::handleCommand_HudSetStars(NetworkPacket *pkt)
|
||||
>> stars.starcolor >> stars.scale;
|
||||
try {
|
||||
*pkt >> stars.day_opacity;
|
||||
*pkt >> stars.star_seed;
|
||||
} catch (PacketError &e) {};
|
||||
|
||||
ClientEvent *event = new ClientEvent();
|
||||
|
||||
Reference in New Issue
Block a user