mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-06-07 19:32:05 +03:00
shared: Do not leak GameState (GameState.txt) KeyValues in achievement manager
This commit is contained in:
parent
f824c74768
commit
a70e797ea5
@ -801,7 +801,7 @@ void CAchievementMgr::LoadGlobalState()
|
||||
// HPE_END
|
||||
//=============================================================================
|
||||
|
||||
KeyValues *pKV = new KeyValues("GameState" );
|
||||
KeyValuesAD pKV("GameState" );
|
||||
if ( pKV->LoadFromFile( filesystem, szFilename, "MOD" ) )
|
||||
{
|
||||
KeyValues *pNode = pKV->GetFirstSubKey();
|
||||
|
Loading…
x
Reference in New Issue
Block a user