mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-05-17 17:18:01 +03:00
client: Do not leak particles.txt | maps/xxx_particles.txt KeyValues during map load
This commit is contained in:
parent
ebe866322d
commit
ba5fe6853d
@ -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…
x
Reference in New Issue
Block a user