diff --git a/src/graphics/lod_node.cpp b/src/graphics/lod_node.cpp index 3c402fc7f..a5b837fd0 100644 --- a/src/graphics/lod_node.cpp +++ b/src/graphics/lod_node.cpp @@ -96,12 +96,19 @@ int LODNode::getLevel() m_lod_distances_updated = true; } - for (unsigned int n=0; n 8000 || (n == lod_levels - 1))) { - m_current_level = n; - return n; + m_current_level = n; + return n; } } m_current_level = -1;