mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-22 20:11:44 +00:00
Changed name of ruleset to 'nqr'. Allowed playercount in 'nqr'.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2866 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
54590f015f
commit
8a7f755c72
1 changed files with 6 additions and 4 deletions
|
@ -400,20 +400,19 @@ rulesetrule_t rulesetrules_strict[] = {
|
|||
{"ruleset_allow_frj", "0"},
|
||||
{"ruleset_allow_packet", "0"},
|
||||
{"ruleset_allow_particle_lightning", "0"},
|
||||
{"ruleset_allow_overlongsounds", "0"},
|
||||
{"ruleset_allow_overlong_sounds", "0"},
|
||||
{"ruleset_allow_larger_models", "0"},
|
||||
{"tp_disputablemacros", "0"},
|
||||
{"cl_instantrotate", "0"},
|
||||
{NULL}
|
||||
};
|
||||
|
||||
rulesetrule_t rulesetrules_nnql[] = {
|
||||
rulesetrule_t rulesetrules_nqr[] = {
|
||||
{"ruleset_allow_larger_models", "0"},
|
||||
{"ruleset_allow_overlong_sounds", "0"},
|
||||
{"ruleset_allow_particle_lightning", "0"},
|
||||
{"ruleset_allow_packet", "0"},
|
||||
{"ruleset_allow_frj", "0"},
|
||||
{"ruleset_allow_playercount", "0"},
|
||||
{"gl_shadeq1", "0"},
|
||||
{"gl_shadeq3", "0"},
|
||||
{NULL}
|
||||
|
@ -422,7 +421,7 @@ rulesetrule_t rulesetrules_nnql[] = {
|
|||
static ruleset_t rulesets[] =
|
||||
{
|
||||
{"strict", rulesetrules_strict},
|
||||
{"nnql", rulesetrules_nnql},
|
||||
{"nqr", rulesetrules_nqr},
|
||||
{NULL}
|
||||
};
|
||||
|
||||
|
@ -464,7 +463,10 @@ void Validation_Ruleset(void)
|
|||
continue;
|
||||
|
||||
if (strcmp(var->string, rs->rule[i].rulevalue))
|
||||
{
|
||||
Con_DPrintf("ruleset \"%s\" requires \"%s\" to be \"%s\"\n", rs->rulesetname, rs->rule[i].rulename, rs->rule[i].rulevalue);
|
||||
break; //current settings don't match
|
||||
}
|
||||
}
|
||||
if (!rs->rule[i].rulename)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue