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