1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-23 17:55: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:
fetsorn
2025-11-22 11:47:15 +03:00
committed by GitHub
parent b4aa73df70
commit d959692967
8 changed files with 22 additions and 3 deletions

View File

@@ -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();