diff options
author | SmallJoker <mk939@ymail.com> | 2019-08-17 14:21:22 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2019-08-23 19:17:43 +0200 |
commit | 7d016b4efd279d2ac2bbb84b457bfe6e5d7f4a56 (patch) | |
tree | a27036f361783ee565999bd0dfb494660b32e991 /src/client | |
parent | ba8fb774c1abe77c404b578929c6d2b657bf1436 (diff) | |
download | minetest-7d016b4efd279d2ac2bbb84b457bfe6e5d7f4a56.tar.gz minetest-7d016b4efd279d2ac2bbb84b457bfe6e5d7f4a56.tar.bz2 minetest-7d016b4efd279d2ac2bbb84b457bfe6e5d7f4a56.zip |
Occlusion: Begin cleanup
Diffstat (limited to 'src/client')
-rw-r--r-- | src/client/clientmap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/clientmap.cpp b/src/client/clientmap.cpp index 15fa45940..f2db94296 100644 --- a/src/client/clientmap.cpp +++ b/src/client/clientmap.cpp @@ -144,7 +144,7 @@ void ClientMap::updateDrawList() // No occlusion culling when free_move is on and camera is // inside ground bool occlusion_culling_enabled = true; - if (g_settings->getBool("free_move")) { + if (g_settings->getBool("free_move") && g_settings->getBool("noclip")) { MapNode n = getNode(cam_pos_nodes); if (n.getContent() == CONTENT_IGNORE || m_nodedef->get(n).solidness == 2) |