diff options
author | darkrose <lisa@ltmnet.com> | 2012-06-24 03:10:17 +1000 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-07-21 02:33:19 +0300 |
commit | 08e1d40d6e8466a56d03dc77f308059cf3547763 (patch) | |
tree | 3c29f7387d82cdbbf21912eac43bae1ac4e1b3d2 /src | |
parent | 80f35467d896ef7a87fe43ae06343f7daf69eba3 (diff) | |
download | minetest-08e1d40d6e8466a56d03dc77f308059cf3547763.tar.gz minetest-08e1d40d6e8466a56d03dc77f308059cf3547763.tar.bz2 minetest-08e1d40d6e8466a56d03dc77f308059cf3547763.zip |
Add support for "textures/all" (and thus texture packs) to server
Diffstat (limited to 'src')
-rw-r--r-- | src/server.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<std::string>::iterator i = paths.begin(); |