summaryrefslogtreecommitdiff
path: root/src/test.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-01-15 13:50:13 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-01-15 13:50:13 +0200
commita176f9eb36033196040443991a0723c39886b8a2 (patch)
tree9951d81ea02d1355d15ccefd09379a2737efaf44 /src/test.cpp
parent83e083a667d8423ea27555ed58cc90a5f57d103f (diff)
downloadminetest-a176f9eb36033196040443991a0723c39886b8a2.tar.gz
minetest-a176f9eb36033196040443991a0723c39886b8a2.tar.bz2
minetest-a176f9eb36033196040443991a0723c39886b8a2.zip
generate-time lighting optimization
Diffstat (limited to 'src/test.cpp')
-rw-r--r--src/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.cpp b/src/test.cpp
index 38c663236..f8f954742 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -537,7 +537,7 @@ struct TestMapBlock
core::map<v3s16, bool> light_sources;
// The block below should be valid because there shouldn't be
// sunlight in there either
- assert(b.propagateSunlight(light_sources) == true);
+ assert(b.propagateSunlight(light_sources, true) == true);
// Should not touch nodes that are not affected (that is, all of them)
//assert(b.getNode(v3s16(1,2,3)).getLight() == LIGHT_SUN);
// Should set light of non-sunlighted blocks to 0.