X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fshared%2Fshared.cpp;fp=src%2Fshared%2Fshared.cpp;h=3eebf43afac076f7fb4789d857c43de016d2371e;hb=07b8335e7bfd631e0878e183c87238812d632c56;hp=9541c951ccd77ddbf15e4cca050ac9d7c32353b8;hpb=9c5308ba4108bd842af6d9d2e893ea575a7e6ca8;p=blank.git diff --git a/src/shared/shared.cpp b/src/shared/shared.cpp index 9541c95..3eebf43 100644 --- a/src/shared/shared.cpp +++ b/src/shared/shared.cpp @@ -26,13 +26,14 @@ WorldResources::WorldResources() : shapes() , block_types() , models() +, snd_index() , tex_index() { } void WorldResources::Load(const AssetLoader &loader, const std::string &set) { loader.LoadShapes("default", shapes); - loader.LoadBlockTypes("default", block_types, tex_index, shapes); + loader.LoadBlockTypes("default", block_types, snd_index, tex_index, shapes); loader.LoadModels("default", models, tex_index, shapes); }