diff options
Diffstat (limited to 'mp/src/game/client/cdll_client_int.cpp')
| -rw-r--r-- | mp/src/game/client/cdll_client_int.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mp/src/game/client/cdll_client_int.cpp b/mp/src/game/client/cdll_client_int.cpp index b5a53e72..10cce078 100644 --- a/mp/src/game/client/cdll_client_int.cpp +++ b/mp/src/game/client/cdll_client_int.cpp @@ -1717,7 +1717,11 @@ void CHLClient::LevelShutdown( void ) messagechars->Clear(); +#ifndef TF_CLIENT_DLL + // don't want to do this for TF2 because we have particle systems in our + // character loadout screen that can be viewed when we're not connected to a server g_pParticleSystemMgr->UncacheAllParticleSystems(); +#endif UncacheAllMaterials(); #ifdef _XBOX |