mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-05-18 01:28:02 +03:00
client: Do not leak medieval game mode autoreplace dictionary (scripts/autorp.txt) KeyValues
This commit is contained in:
parent
ad6c996c2e
commit
f28577b94b
@ -35,7 +35,7 @@ void CTFAutoRP::ParseDataFile( void )
|
|||||||
Assert( !m_pDataFileKV );
|
Assert( !m_pDataFileKV );
|
||||||
|
|
||||||
// Load & parse the word files
|
// Load & parse the word files
|
||||||
KeyValues *pFileKV = new KeyValues( "AutoRPFile" );
|
KeyValuesAD pFileKV( "AutoRPFile" );
|
||||||
if ( pFileKV->LoadFromFile( filesystem, "scripts/autorp.txt", "MOD" ) == false )
|
if ( pFileKV->LoadFromFile( filesystem, "scripts/autorp.txt", "MOD" ) == false )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user