1
0
Fork 0
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:
Perttu Ahola 2010-12-29 15:26:47 +02:00
parent a9dd12281f
commit 6d4cd2ea1a
4 changed files with 55 additions and 38 deletions

View file

@ -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++;