Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
proller committed Oct 24, 2024
1 parent 4121899 commit 777c759
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/client/fm_farmesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ int FarMesh::go_flat()
const auto cbpos = getNodeBlockPos(m_camera_pos_aligned);

std::array<std::unordered_set<v3bpos_t>, FARMESH_STEP_MAX> blocks;
runFarAll(draw_control, cbpos, draw_control.cell_size_pow, 1,
runFarAll(draw_control, cbpos, draw_control.cell_size_pow, cbpos.Y ?: 1,
[this, &draw_control, &blocks](
const v3bpos_t &bpos, const bpos_t &size) -> bool {
for (const auto &add : {
Expand Down
1 change: 0 additions & 1 deletion src/mapgen/mapgen_earth.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ class MapgenEarth : public MapgenV7
MapNode layers_get(float value, float max);
bool visible(const v3pos_t &p) override;
const MapNode &visible_content(const v3pos_t &p, bool use_weather) override;
bool surface_2d() override { return false; }; /// TODO make true

hgts hgt_reader;

Expand Down

0 comments on commit 777c759

Please sign in to comment.