1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Fix calculating if block is in viewing range; fix fog and default minimum accordingly

This commit is contained in:
Perttu Ahola 2012-02-06 17:26:48 +02:00
parent 88cdd3a363
commit 94b25685c5
3 changed files with 3 additions and 3 deletions

View file

@ -2174,7 +2174,7 @@ void the_game(
}
else
{
range = draw_control.wanted_range*BS + MAP_BLOCKSIZE*BS*1.5;
range = draw_control.wanted_range*BS + 0.0*MAP_BLOCKSIZE*BS;
range *= 0.9;
if(draw_control.range_all)
range = 100000*BS;