1
0
Fork 0
forked from fte/fteqw

Hopefully fixed missing particles bug.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4618 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-02-22 00:27:03 +00:00
parent 4b2fc5ac01
commit ce67f11851

View file

@ -509,6 +509,7 @@ static int PScript_FindParticleType(char *name)
if (!stricmp(part_type[i].name, name))
{
ptype = &part_type[i];
if (ptype->loaded) //(mostly) ignore ones that are not currently loaded
break;
}
}
@ -2527,7 +2528,9 @@ static qboolean P_LoadParticleSet(char *name, qboolean implicit)
{
if (partset_list[i].data)
{
Cbuf_AddText(va("\nr_part namespace %s %i\n", name, implicit), restrictlevel);
Cbuf_AddText(*partset_list[i].data, RESTRICT_LOCAL);
Cbuf_AddText("\nr_part namespace \"\" 0\n", restrictlevel);
}
return true;
}