mirror of
https://port.numenaute.org/aleajactaest/khanat-code-old.git
synced 2024-11-27 09:16:18 +00:00
Changed: Optimization for files loading under Linux
This commit is contained in:
parent
d6c2f62a93
commit
2e2c08d7cb
1 changed files with 2 additions and 1 deletions
|
@ -2010,7 +2010,8 @@ void CClientConfig::init(const string &configFileName)
|
||||||
}
|
}
|
||||||
fprintf(fp, "RootConfigFilename = \"%s\";\n", defaultConfigFileName.c_str());
|
fprintf(fp, "RootConfigFilename = \"%s\";\n", defaultConfigFileName.c_str());
|
||||||
#ifdef RYZOM_SHARE_PREFIX
|
#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
|
#endif // RYZOM_SHARE_PREFIX
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue