mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
Small render fixes
This commit is contained in:
parent
667eb6bab5
commit
32878de5f3
2 changed files with 5 additions and 4 deletions
|
|
@ -60,7 +60,7 @@ bool ChunksController::loadVisible(WorldFiles* worldFiles){
|
|||
for (int oz = -1; oz <= 1; oz++){
|
||||
for (int ox = -1; ox <= 1; ox++){
|
||||
Chunk* other = chunks->getChunk(chunk->x+ox, chunk->y, chunk->z+oz);
|
||||
if (other != nullptr) surrounding++;
|
||||
if (other != nullptr && other->ready) surrounding++;
|
||||
}
|
||||
}
|
||||
chunk->surrounding = surrounding;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue