mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Value copy / allocation optimizations mostly in server, SAO and serialize code
This commit is contained in:
parent
2fd5f38c45
commit
471e567657
16 changed files with 52 additions and 64 deletions
|
@ -2806,7 +2806,7 @@ void Game::handleClientEvent_SetSky(ClientEvent *event, CameraOrientation *cam)
|
|||
// Shows the mesh skybox
|
||||
sky->setVisible(true);
|
||||
// Update mesh based skybox colours if applicable.
|
||||
sky->setSkyColors(*event->set_sky);
|
||||
sky->setSkyColors(event->set_sky->sky_color);
|
||||
sky->setHorizonTint(
|
||||
event->set_sky->fog_sun_tint,
|
||||
event->set_sky->fog_moon_tint,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue