aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorNovatux <nathanael.courant@laposte.net>2013-08-02 15:18:48 +0200
committerPilzAdam <pilzadam@minetest.net>2013-08-04 16:52:30 +0200
commit383153419bef744af4bfa5f5d54c4bee663a5ce6 (patch)
tree6630c6c9075246991d2575b1631205097e2591c5 /src/server.cpp
parentfe1fe1b1e42d24dc87a75ef8cc27c5c1dd1cfa4d (diff)
downloadminetest-383153419bef744af4bfa5f5d54c4bee663a5ce6.tar.gz
minetest-383153419bef744af4bfa5f5d54c4bee663a5ce6.tar.bz2
minetest-383153419bef744af4bfa5f5d54c4bee663a5ce6.zip
Add texture pack selection to main menu
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 4099d9997..f5f6645a2 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -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();