1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-08-11 17:51:04 +00:00

Rework directory structure

This commit is contained in:
Perttu Ahola 2012-03-19 20:44:07 +02:00
parent 1ff20da5b6
commit 1f56d71f19
110 changed files with 18 additions and 26 deletions

View file

@ -877,10 +877,6 @@ Server::Server(
if(!gamespec.isValid())
throw ServerError("Supplied invalid gamespec");
// Figure out some paths
// share/server
m_path_share = porting::path_share + DIR_DELIM + "server";
infostream<<"Server created for gameid \""<<m_gamespec.id<<"\"";
if(m_simple_singleplayer_mode)
infostream<<" in simple singleplayer mode"<<std::endl;
@ -894,7 +890,7 @@ Server::Server(
infostream<<"- addons: "<<(*i)<<std::endl;
// Path to builtin.lua
std::string builtinpath = m_path_share + DIR_DELIM + "builtin.lua";
std::string builtinpath = porting::path_share + DIR_DELIM + "builtin.lua";
// Add default global mod search path
m_modspaths.push_front(m_gamespec.path + DIR_DELIM "mods");