mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-09 03:24:52 +00:00
client: Do not leak particles.txt | maps/xxx_particles.txt KeyValues during map load
This commit is contained in:
parent
7265bd0e2a
commit
79960e4811
1 changed files with 1 additions and 1 deletions
|
@ -186,7 +186,7 @@ void ParseParticleEffectsMap( const char *pMapName, bool bLoadSheets )
|
|||
V_snprintf( szMapManifestFilename, sizeof( szMapManifestFilename ), "maps/%s_particles.txt", pMapName );
|
||||
}
|
||||
|
||||
KeyValues *manifest = new KeyValues( szMapManifestFilename );
|
||||
KeyValuesAD manifest( szMapManifestFilename );
|
||||
|
||||
// In order:
|
||||
// - particles.txt within the map BSP
|
||||
|
|
Loading…
Reference in a new issue