mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
nothing actually done
This commit is contained in:
parent
693f50eb87
commit
d3c9911640
4 changed files with 2 additions and 9 deletions
|
|
@ -131,7 +131,7 @@ void BlocksController::randomTick(int tickid, int parts) {
|
|||
int index = z * w + x;
|
||||
if ((index + tickid) % parts != 0)
|
||||
continue;
|
||||
auto chunk = chunks->chunks[index];
|
||||
auto& chunk = chunks->chunks[index];
|
||||
if (chunk == nullptr || !chunk->isLighted())
|
||||
continue;
|
||||
for (int s = 0; s < segments; s++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue