From f6cbd617604c25d2a46c4450c12cf13d394fcea5 Mon Sep 17 00:00:00 2001 From: Eukara Date: Wed, 3 May 2017 22:51:25 +0000 Subject: [PATCH] Fixed particleeffectnum failing from looking up already existing particle effect git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5096 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/pr_csqc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/pr_csqc.c b/engine/client/pr_csqc.c index 2c5ade96a..a55acbc33 100644 --- a/engine/client/pr_csqc.c +++ b/engine/client/pr_csqc.c @@ -2966,7 +2966,7 @@ static void QCBUILTIN PF_cs_particleeffectnum (pubprogfuncs_t *prinst, struct gl { //effects can be in the list despite now being stale. they still take up a slot to avoid reuse as the qc can potentially still potentially reference it. //csqc needs to be able to detect a now-stale effect - if (cl.particle_csprecache[i] != P_INVALID) + //if (cl.particle_csprecache[i] != P_INVALID) G_FLOAT(OFS_RETURN) = -i; return; }