Fix mistake
This commit is contained in:
parent
3132e20fad
commit
cc12f0a0a4
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user