mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
change default particle execs from server to local restrict level (server restrict screws over chain-loading)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2361 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
730f6abe69
commit
d3fe8cba4b
1 changed files with 6 additions and 6 deletions
|
@ -1534,15 +1534,15 @@ void P_LoadParticleSet(char *name, qboolean first)
|
|||
if (!stricmp(name, "none"))
|
||||
return;
|
||||
else if (!stricmp(name, "faithful") || (first && !*name))
|
||||
Cbuf_AddText(particle_set_faithful, RESTRICT_SERVER);
|
||||
Cbuf_AddText(particle_set_faithful, RESTRICT_LOCAL);
|
||||
else if (!stricmp(name, "spikeset"))
|
||||
Cbuf_AddText(particle_set_spikeset, RESTRICT_SERVER);
|
||||
Cbuf_AddText(particle_set_spikeset, RESTRICT_LOCAL);
|
||||
else if (!stricmp(name, "highfps"))
|
||||
Cbuf_AddText(particle_set_highfps, RESTRICT_SERVER);
|
||||
Cbuf_AddText(particle_set_highfps, RESTRICT_LOCAL);
|
||||
else if (!stricmp(name, "minimal"))
|
||||
Cbuf_AddText(particle_set_minimal, RESTRICT_SERVER);
|
||||
Cbuf_AddText(particle_set_minimal, RESTRICT_LOCAL);
|
||||
else if (!stricmp(name, "tsshaft"))
|
||||
Cbuf_AddText(particle_set_tsshaft, RESTRICT_SERVER);
|
||||
Cbuf_AddText(particle_set_tsshaft, RESTRICT_LOCAL);
|
||||
else
|
||||
{
|
||||
char *file = COM_LoadMallocFile(va("particles/%s.cfg", name));
|
||||
|
@ -1557,7 +1557,7 @@ void P_LoadParticleSet(char *name, qboolean first)
|
|||
else if (first)
|
||||
{
|
||||
Con_Printf(S_WARNING "Couldn't find particle description %s, using spikeset\n", name);
|
||||
Cbuf_AddText(particle_set_spikeset, RESTRICT_SERVER);
|
||||
Cbuf_AddText(particle_set_spikeset, RESTRICT_LOCAL);
|
||||
}
|
||||
else
|
||||
Con_Printf(S_WARNING "Couldn't find particle description %s\n", name);
|
||||
|
|
Loading…
Reference in a new issue