mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
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
This commit is contained in:
parent
85da162f49
commit
f6cbd61760
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue