Hi
I’m trying to get rid of everybody’s favorite cheat, running with cg_wolfparticles 0 so that explosions from artillery and like are not drawn.
However I’m unsure about the scope of my bugfix. In this code:
}
// done.
if (!cg_wolfparticles.integer)
return;
if (!p->pshader) {
// (SA) temp commented out for DM again. FIXME: TODO: this needs to be addressed
// CG_Printf ("CG_AddParticleToScene type %d p->pshader == ZERO
", p->type);
return;
}
I just changed the line:
if (!cg_wolfparticles.integer)
to:
if (!cg_wolfparticles.integer && !(p->type == P_ANIM || p->type == P_DLIGHT_ANIM))
Since the particle effects of explosions are using those two.
Comments?



