]> git.localhorst.tv Git - blank.git/blobdiff - tst/world/ChunkTest.cpp
propagate light into blocking blocks
[blank.git] / tst / world / ChunkTest.cpp
index 6db245a2d7d5cd58182c0cef956abaa3c85745fa..c8dac8319f30835cbacf20a6b9c3d4391db1531a 100644 (file)
@@ -450,10 +450,6 @@ void ChunkTest::testLightPropagation() {
 
        // now block the light to the left
        chunk->SetBlock(Chunk::Pos(6, 7, 7), Block(1));
-       CPPUNIT_ASSERT_EQUAL_MESSAGE(
-               "non-zero light level in solid block",
-               0, chunk->GetLight(Chunk::Pos(6, 7, 7))
-       );
        CPPUNIT_ASSERT_EQUAL_MESSAGE(
                "adding obstacle affected unrelated index",
                5, chunk->GetLight(Chunk::Pos(7, 7, 7))