Changed: Optimization for files loading under Linux

This commit is contained in:
kervala 2010-08-03 20:23:54 +02:00
parent a2be9e1d1b
commit bc3190ab1e

View file

@ -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);
}