mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix calculating if block is in viewing range; fix fog and default minimum accordingly
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user