mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
A bit longer day and a bit shorter night. Client-side.
This commit is contained in:
parent
a9dd12281f
commit
6d4cd2ea1a
4 changed files with 55 additions and 38 deletions
|
@ -3178,9 +3178,12 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
|
|||
/*
|
||||
This has to be done with the mesh_mutex unlocked
|
||||
*/
|
||||
if(mesh_expired && mesh_update_count < 6
|
||||
&& (d < faraway || mesh_update_count < 3))
|
||||
//if(mesh_expired && mesh_update_count < 4)
|
||||
// Pretty random but this should work somewhat nicely
|
||||
if(mesh_expired && mesh_update_count < 3
|
||||
&& (d < faraway || mesh_update_count < 2
|
||||
|| m_control.range_all))
|
||||
/*if(mesh_expired && mesh_update_count < 6
|
||||
&& (d < faraway || mesh_update_count < 3))*/
|
||||
{
|
||||
mesh_update_count++;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue