aboutsummaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-02-06 17:26:48 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-02-06 17:27:54 +0200
commit94b25685c53e8a4494c71557b8db3e2570f5c287 (patch)
tree3de79a828a9484bde2aa415d0137a5d3a7de3b8a /src/game.cpp
parent88cdd3a363668cfb2fd07b5381cce29738aed0bf (diff)
downloadminetest-94b25685c53e8a4494c71557b8db3e2570f5c287.tar.gz
minetest-94b25685c53e8a4494c71557b8db3e2570f5c287.tar.bz2
minetest-94b25685c53e8a4494c71557b8db3e2570f5c287.zip
Fix calculating if block is in viewing range; fix fog and default minimum accordingly
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index a1f0fe07f..530291862 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -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;