don't complain about _fields not being found

This commit is contained in:
Bill Currie 2007-04-07 01:02:14 +00:00 committed by Jeff Teunissen
parent c4d81cda19
commit b203512eb7
2 changed files with 4 additions and 0 deletions

View file

@ -152,6 +152,8 @@ PR_Profile_f (void)
static int static int
parse_field (progs_t *pr, const char *key, const char *value) parse_field (progs_t *pr, const char *key, const char *value)
{ {
if (*key == '_') // ignore _fields
return 1;
return 0; return 0;
} }

View file

@ -172,6 +172,8 @@ parse_field (progs_t *pr, const char *key, const char *value)
Cvar_Set (r_skyname, value); Cvar_Set (r_skyname, value);
return 1; return 1;
} }
if (*key == '_') // ignore _fields
return 1;
return 0; return 0;
} }