Reset block usage timer on client only if it is very probably drawn

master
Perttu Ahola 2011-11-08 02:05:42 +02:00
parent 1c98ec94da
commit 763da10c7b
1 changed files with 3 additions and 3 deletions

View File

@ -3786,9 +3786,6 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
blocks_in_range++;
// This block is in range. Reset usage timer.
block->resetUsageTimer();
#if 1
/*
Update expired mesh (used for day/night change)
@ -3878,6 +3875,9 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
continue;
}
// This block is in range. Reset usage timer.
block->resetUsageTimer();
/*
Ignore if mesh doesn't exist
*/