X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fshared%2Fshared.cpp;h=06f622211389a1dd105eef7bebe36005064284e6;hb=20d0a76d2519c71009c3b3babec0df27529f8142;hp=3eebf43afac076f7fb4789d857c43de016d2371e;hpb=c2bf905f4b9863fe0f5c876ed00fe298cb95ab6b;p=blank.git diff --git a/src/shared/shared.cpp b/src/shared/shared.cpp index 3eebf43..06f6222 100644 --- a/src/shared/shared.cpp +++ b/src/shared/shared.cpp @@ -31,10 +31,10 @@ WorldResources::WorldResources() } -void WorldResources::Load(const AssetLoader &loader, const std::string &set) { - loader.LoadShapes("default", shapes); - loader.LoadBlockTypes("default", block_types, snd_index, tex_index, shapes); - loader.LoadModels("default", models, tex_index, shapes); +void WorldResources::Load(const AssetLoader &loader, const std::string &set_name) { + loader.LoadShapes(set_name, shapes); + loader.LoadBlockTypes(set_name, block_types, snd_index, tex_index, shapes); + loader.LoadModels(set_name, models, tex_index, shapes); } }