projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ef78cd
)
Add the mod search path user/mods/gameid
author
Perttu Ahola
<celeron55@gmail.com>
Mon, 19 Mar 2012 06:34:38 +0000
(08:34 +0200)
committer
Perttu Ahola
<celeron55@gmail.com>
Mon, 19 Mar 2012 06:34:38 +0000
(08:34 +0200)
src/server.cpp
patch
|
blob
|
history
diff --git
a/src/server.cpp
b/src/server.cpp
index f3bf1e23f5541d403a93552b0168ea1f68ae04bd..df9a4d390b7daa800e3b76d44ef7ca63bfa7b072 100644
(file)
--- a/
src/server.cpp
+++ b/
src/server.cpp
@@
-904,6
+904,9
@@
Server::Server(
for(std::set<std::string>::const_iterator i = m_gamespec.addon_paths.begin();
i != m_gamespec.addon_paths.end(); i++)
m_modspaths.push_front((*i) + DIR_DELIM + "mods");
+ // Add simple user mod search path
+ m_modspaths.push_front(porting::path_user + DIR_DELIM + "mods"
+ + DIR_DELIM + m_gamespec.id);
// Print out mod search paths
for(core::list<std::string>::Iterator i = m_modspaths.begin();