mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-05-18 01:28:02 +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 );
|
V_snprintf( szMapManifestFilename, sizeof( szMapManifestFilename ), "maps/%s_particles.txt", pMapName );
|
||||||
}
|
}
|
||||||
|
|
||||||
KeyValues *manifest = new KeyValues( szMapManifestFilename );
|
KeyValuesAD manifest( szMapManifestFilename );
|
||||||
|
|
||||||
// In order:
|
// In order:
|
||||||
// - particles.txt within the map BSP
|
// - particles.txt within the map BSP
|
||||||
|
Loading…
x
Reference in New Issue
Block a user