mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Add texture pack selection to main menu
This commit is contained in:
parent
fe1fe1b1e4
commit
383153419b
10 changed files with 125 additions and 17 deletions
|
@ -4273,8 +4273,7 @@ void Server::fillMediaCache()
|
|||
paths.push_back(mod.path + DIR_DELIM + "media");
|
||||
paths.push_back(mod.path + DIR_DELIM + "models");
|
||||
}
|
||||
std::string path_all = "textures";
|
||||
paths.push_back(path_all + DIR_DELIM + "all");
|
||||
paths.push_back(porting::path_user + DIR_DELIM + "textures" + DIR_DELIM + "server");
|
||||
|
||||
// Collect media file information from paths into cache
|
||||
for(std::list<std::string>::iterator i = paths.begin();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue