]> git.localhorst.tv Git - blank.git/blobdiff - tst/world/ChunkTest.cpp
block type prototypability and new types
[blank.git] / tst / world / ChunkTest.cpp
index e2c02fd4862ee36d4a2112ea33fc799a6be778e8..26f2014cfc3fbec2b061959ce893e2d51ce249e0 100644 (file)
@@ -17,11 +17,13 @@ void ChunkTest::setUp() {
        types = BlockTypeRegistry();
 
        BlockType obstacle;
+       obstacle.name = "obstacle";
        obstacle.visible = true;
        obstacle.block_light = true;
        types.Add(std::move(obstacle));
 
        BlockType source;
+       source.name = "source";
        source.visible = true;
        source.luminosity = 5;
        source.block_light = true;