]> git.localhorst.tv Git - blank.git/blobdiff - src/standalone/MasterState.cpp
actually load shapes
[blank.git] / src / standalone / MasterState.cpp
index 68e49a966fc607e07e84f6d65c17d2e62eb84da6..c66c8fadae20191472b14d17beffdd6b33c18d42 100644 (file)
@@ -21,6 +21,7 @@ MasterState::MasterState(
 )
 : config(config)
 , env(env)
+, shapes()
 , block_types()
 , save(save)
 , world(block_types, wc)
@@ -40,6 +41,7 @@ MasterState::MasterState(
 , preload(env, chunk_loader, chunk_renderer)
 , unload(env, world.Chunks(), save) {
        TextureIndex tex_index;
+       env.loader.LoadShapes("default", shapes);
        env.loader.LoadBlockTypes("default", block_types, tex_index);
        interface.SetInventorySlots(block_types.size() - 1);
        generator.LoadTypes(block_types);