projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a1884c
)
Fix typo in lighting code since bcdb3d5
author
SmallJoker
<mk939@ymail.com>
Sat, 10 Mar 2018 08:37:43 +0000
(09:37 +0100)
committer
SmallJoker
<mk939@ymail.com>
Sat, 10 Mar 2018 08:37:43 +0000
(09:37 +0100)
src/voxelalgorithms.cpp
patch
|
blob
|
history
diff --git
a/src/voxelalgorithms.cpp
b/src/voxelalgorithms.cpp
index cf4cee20555b087eea543fbc6961c95cf2564a5e..1f3abf1befc60654886e42713bdb833115fe5f4b 100644
(file)
--- a/
src/voxelalgorithms.cpp
+++ b/
src/voxelalgorithms.cpp
@@
-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