mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Occlusion: Begin cleanup
This commit is contained in:
parent
ba8fb774c1
commit
7d016b4efd
3 changed files with 51 additions and 45 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue