mirror of
https://github.com/luanti-org/luanti.git
synced 2026-01-13 12:45:29 +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:
@@ -1959,7 +1959,7 @@ void Server::SendSetStars(session_t peer_id, const StarParams ¶ms)
|
||||
|
||||
pkt << params.visible << params.count
|
||||
<< params.starcolor << params.scale
|
||||
<< params.day_opacity;
|
||||
<< params.day_opacity << params.star_seed;
|
||||
|
||||
Send(&pkt);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user