From afaee80cdfbdc63dfdb44bbbabd6f1dfae44678b Mon Sep 17 00:00:00 2001 From: kervala Date: Tue, 3 Aug 2010 20:23:54 +0200 Subject: [PATCH] Changed: Optimization for files loading under Linux --- code/ryzom/client/src/client_cfg.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/ryzom/client/src/client_cfg.cpp b/code/ryzom/client/src/client_cfg.cpp index 39221cb55..d9306e145 100644 --- a/code/ryzom/client/src/client_cfg.cpp +++ b/code/ryzom/client/src/client_cfg.cpp @@ -2010,7 +2010,8 @@ void CClientConfig::init(const string &configFileName) } fprintf(fp, "RootConfigFilename = \"%s\";\n", defaultConfigFileName.c_str()); #ifdef RYZOM_SHARE_PREFIX - fprintf(fp, "PreDataPath = { \"%s/data\" };\n", RYZOM_SHARE_PREFIX); + fprintf(fp, "PreDataPath = { \"user\", \"patch\", \"examples\", \"%s/data/fonts\", \"%s/data/gamedev.bnp\" };\n", RYZOM_SHARE_PREFIX, RYZOM_SHARE_PREFIX); + fprintf(fp, "DataPath = { \"%s/data\" };\n", RYZOM_SHARE_PREFIX); #endif // RYZOM_SHARE_PREFIX fclose(fp); }