Skip to content

Commit

Permalink
Fix typo in lighting code since bcdb3d5
Browse files Browse the repository at this point in the history
  • Loading branch information
SmallJoker committed Mar 10, 2018
1 parent 5a1884c commit ee20433
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/voxelalgorithms.cpp
Expand Up @@ -1008,7 +1008,7 @@ void finish_bulk_light_update(Map *map, mapblock_v3 minblock,
for (relpos.X = 0; relpos.X < MAP_BLOCKSIZE; relpos.X++)
for (relpos.Z = 0; relpos.Z < MAP_BLOCKSIZE; relpos.Z++)
for (relpos.Y = 0; relpos.Y < MAP_BLOCKSIZE; relpos.Y++) {
MapNode node = block->getNodeNoCheck(relpos.X, relpos.Y, relpos.Y, &is_valid);
MapNode node = block->getNodeNoCheck(relpos.X, relpos.Y, relpos.Z, &is_valid);
const ContentFeatures &f = ndef->get(node);

// For each light bank
Expand Down

0 comments on commit ee20433

Please sign in to comment.