Skip to content
Snippets Groups Projects
Commit 08e1d40d authored by darkrose's avatar darkrose Committed by Perttu Ahola
Browse files

Add support for "textures/all" (and thus texture packs) to server

parent 80f35467
No related branches found
No related tags found
No related merge requests found
......@@ -3965,6 +3965,8 @@ void Server::fillMediaCache()
paths.push_back(mod.path + DIR_DELIM + "sounds");
paths.push_back(mod.path + DIR_DELIM + "media");
}
std::string path_all = "textures";
paths.push_back(path_all + DIR_DELIM + "all");
// Collect media file information from paths into cache
for(std::list<std::string>::iterator i = paths.begin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment