summaryrefslogtreecommitdiff
path: root/src/map.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-14 16:13:03 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-14 16:13:03 +0200
commit467f43d47ccff77d2f35d0807e9d66181694daec (patch)
treec91380e57bccbc019fecc8b381ce830b931e62d1 /src/map.cpp
parent7701753131ee2db37bcf8f4adb80ad8d793a136b (diff)
downloadminetest-467f43d47ccff77d2f35d0807e9d66181694daec.tar.gz
minetest-467f43d47ccff77d2f35d0807e9d66181694daec.tar.bz2
minetest-467f43d47ccff77d2f35d0807e9d66181694daec.zip
Some fiddling around with fog... not much changed
Diffstat (limited to 'src/map.cpp')
-rw-r--r--src/map.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/map.cpp b/src/map.cpp
index fe1056578..184d89b9c 100644
--- a/src/map.cpp
+++ b/src/map.cpp
@@ -5428,10 +5428,15 @@ void ClientMap::renderMap(video::IVideoDriver* driver, s32 pass)
{
continue;
}
+
+ // This is ugly
+ /*if(m_control.range_all == false &&
+ d - 0.5*BS*MAP_BLOCKSIZE > range)
+ continue;*/
#if 1
/*
- Update expired mesh
+ Update expired mesh (used for day/night change)
*/
bool mesh_expired = false;