Allow gameconfig without master for convenience

This commit is contained in:
Arkshine 2016-01-15 17:33:42 +01:00
parent af0042b71d
commit f1a2a00d38

View File

@ -637,7 +637,6 @@ bool CGameConfig::Reparse(char *error, size_t maxlength)
if (!g_LibSys.PathExists(path))
{
#if 0
// Single config file without master
g_LibSys.PathFormat(path, sizeof(path), "%s.txt", m_File);
@ -645,7 +644,7 @@ bool CGameConfig::Reparse(char *error, size_t maxlength)
{
return false;
}
#endif
// Allow customizations of default gamedata files
build_pathname_r(path, sizeof(path), "%s/gamedata/custom/%s.txt", dataDir, m_File);