Skip to content

Commit

Permalink
x
Browse files Browse the repository at this point in the history
  • Loading branch information
iProgramMC committed May 6, 2024
1 parent e7b7569 commit 8a48ff0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/client/renderer/LevelRenderer.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ class DistanceChunkSorter
float d1 = a->distanceToSqr(m_pMob);
float d2 = b->distanceToSqr(m_pMob);

if (d1 > 1024.0f && a->m_pos.y <= 63) d1 *= 10.0f;
if (d2 > 1024.0f && b->m_pos.y <= 63) d2 *= 10.0f;
//if (d1 > 1024.0f && a->m_pos.y <= 63) d1 *= 10.0f;
//if (d2 > 1024.0f && b->m_pos.y <= 63) d2 *= 10.0f;

return d1 < d2;
}
Expand Down
2 changes: 1 addition & 1 deletion source/world/level/levelgen/chunk/LevelChunk.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ void EmptyLevelChunk::markUnsaved()

TileID EmptyLevelChunk::getTile(int x, int y, int z)
{
return Tile::invisible_bedrock->m_ID;
return 0;// Tile::invisible_bedrock->m_ID;
}

bool EmptyLevelChunk::setTile(int x, int y, int z, TileID tile)
Expand Down

0 comments on commit 8a48ff0

Please sign in to comment.