Playing with valgrind and hexen2.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/branches/wip@3730 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
386424a8e6
commit
ab865b7e25
15 changed files with 74 additions and 31 deletions
|
@ -144,9 +144,6 @@ void P_InitParticleSystem(void)
|
|||
|
||||
Cvar_Register(&r_particlesystem, "Particles");
|
||||
|
||||
|
||||
|
||||
|
||||
//particles
|
||||
Cvar_Register(&r_particledesc, particlecvargroupname);
|
||||
Cvar_Register(&r_bouncysparks, particlecvargroupname);
|
||||
|
@ -165,6 +162,15 @@ void P_InitParticleSystem(void)
|
|||
Cvar_Register (&gl_part_flame, particlecvargroupname);
|
||||
}
|
||||
|
||||
void P_Shutdown(void)
|
||||
{
|
||||
if (pe)
|
||||
{
|
||||
pe->ShutdownParticles();
|
||||
}
|
||||
pe = NULL;
|
||||
}
|
||||
|
||||
#ifdef Q2BSPS
|
||||
qboolean Q2TraceLineN (vec3_t start, vec3_t end, vec3_t impact, vec3_t normal)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue