projects
/
zefram
/
minetest
/
minetest_engine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80f3546
)
Add support for "textures/all" (and thus texture packs) to server
author
darkrose
<lisa@ltmnet.com>
Sat, 23 Jun 2012 17:10:17 +0000
(
03:10
+1000)
committer
Perttu Ahola
<celeron55@gmail.com>
Fri, 20 Jul 2012 23:33:19 +0000
(
02:33
+0300)
src/server.cpp
patch
|
blob
|
history
diff --git
a/src/server.cpp
b/src/server.cpp
index f793c770b76596149bead205bde7a74d1fc960ad..b125bff8d7330c7f4cb04924bc5b25da1790d3ae 100644
(file)
--- 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();