Merge pull request #258 from Ni3znajomy/fix-mistake-gconfigparser

Fix mistake
This commit is contained in:
Vincent Herbet 2015-07-11 20:40:09 +02:00
commit de71cf469c

View File

@ -901,7 +901,7 @@ bool CGameConfigManager::LoadGameConfigFile(const char *file, IGameConfig **conf
configFromCache = new CGameConfig(file); configFromCache = new CGameConfig(file);
configFromCache->AddRef(); configFromCache->AddRef();
bool returnValue = returnValue = configFromCache->Reparse(error, maxlength); bool returnValue = configFromCache->Reparse(error, maxlength);
m_Lookup.insert(file, configFromCache); m_Lookup.insert(file, configFromCache);
*config = configFromCache; *config = configFromCache;