1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Allow to set maximum star opacity at daytime (#11663)

This commit is contained in:
Wuzzy 2022-07-02 18:57:48 +00:00 committed by GitHub
parent b095dc4f2b
commit 142928e944
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 24 additions and 4 deletions

View file

@ -1775,7 +1775,8 @@ void Server::SendSetStars(session_t peer_id, const StarParams &params)
NetworkPacket pkt(TOCLIENT_SET_STARS, 0, peer_id);
pkt << params.visible << params.count
<< params.starcolor << params.scale;
<< params.starcolor << params.scale
<< params.day_opacity;
Send(&pkt);
}