From bc3190ab1e2aa8a07b84f82975407e826e42e6f3 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); }