From: darkrose Date: Sat, 23 Jun 2012 17:10:17 +0000 (+1000) Subject: Add support for "textures/all" (and thus texture packs) to server X-Git-Tag: 0.4.0~5 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=08e1d40d6e8466a56d03dc77f308059cf3547763;p=oweals%2Fminetest.git Add support for "textures/all" (and thus texture packs) to server --- diff --git a/src/server.cpp b/src/server.cpp index f793c770b..b125bff8d 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -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::iterator i = paths.begin();