From f1a2a00d38bc6fc966673b0360390db12a1ec1fe Mon Sep 17 00:00:00 2001 From: Arkshine Date: Fri, 15 Jan 2016 17:33:42 +0100 Subject: [PATCH] Allow gameconfig without master for convenience --- amxmodx/CGameConfigs.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/amxmodx/CGameConfigs.cpp b/amxmodx/CGameConfigs.cpp index 40ae4d1f..6a7a6202 100644 --- a/amxmodx/CGameConfigs.cpp +++ b/amxmodx/CGameConfigs.cpp @@ -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);