diff --git a/src/client/hud.cpp b/src/client/hud.cpp index 5025ec99c..4bbc86fd8 100644 --- a/src/client/hud.cpp +++ b/src/client/hud.cpp @@ -23,6 +23,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include #include #include +#include "client/mapblock_mesh.h" #include "settings.h" #include "util/numeric.h" #include "log.h" diff --git a/src/fm_farmesh.cpp b/src/fm_farmesh.cpp index 5b7f85857..43c9310b4 100644 --- a/src/fm_farmesh.cpp +++ b/src/fm_farmesh.cpp @@ -162,7 +162,6 @@ void FarMesh::makeFarBlocks(const v3bpos_t &blockpos) m_make_far_blocks_last = 0; } #endif -} FarMesh::FarMesh(scene::ISceneNode *parent, scene::ISceneManager *mgr, s32 id, // u64 seed, @@ -529,12 +528,12 @@ void FarMesh::update(v3f camera_pos, v3f camera_dir, f32 camera_fov, continue; ++planes_processed; async[i].step([&, i = i, end_ms = end_ms]() { - DUMP("steps goooo", i, async[i].valid()); + DUMP("steps goooo", i, async[i].valid()); for (int depth = 0; depth < 100; ++depth) { plane_caches[i].processed = go_direction(i); if (!plane_caches[i].processed) break; - break; + break; } }); }