------------------------------------------------------------------------

r4253 | acceptthis | 2013-03-09 16:58:54 +0000 (Sat, 09 Mar 2013) | 1 line

Fix particle system shutdown without particle system running.
------------------------------------------------------------------------


git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4249 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2013-03-12 23:21:14 +00:00
parent f5259d07d6
commit 854335dad8
1 changed files with 1 additions and 1 deletions

View File

@ -180,9 +180,9 @@ void P_InitParticleSystem(void)
void P_Shutdown(void)
{
CL_ClearLerpEntsParticleState();
if (pe)
{
CL_ClearLerpEntsParticleState();
pe->ShutdownParticles();
}
pe = NULL;